Colorise ProOKLCH Engine
ExploreStudioNamesPickerPairs
ExploreStudioNamesPickerPairsContrastExtract
Menu

Product

  • Home
  • Explore
  • Studio
  • Color Names

Tools

  • Picker
  • Color Pairs
  • Contrast
  • Image Extract
  • Gradient Lab
  • Palette Diff
  • Brand from URL

Guides

  • All guides
  • OKLCH vs HSL
  • WCAG vs APCA
  • OKLCH color scales
  • Gamut & sRGB
  • Extract from images
  • HEX to OKLCH
  • Dark mode colors
  • Color meanings
Home/Colors/#40344B

Nearest named color · #40344B

#40344B

Nearest named color: Call It a Night

#40344B (rgb(64 52 75), hsl(271 18% 25%), oklch(0.348 0.042 308.1)) is closest to the named color Call It a Night. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.

What does Purple mean? →

#40344B

oklch(0.348 0.042 308.1)

Color conversions

HEX
#40344b
RGB
rgb(64 52 75)
HSL
hsl(271 18% 25%)
HWB
hwb(271 20% 71%)
OKLCH
oklch(0.348 0.042 308.1)
OKLab
oklab(0.348 0.026 -0.033)
CIE Lab
lab(23.77 9.47 -12.18)
LCH
lch(23.77 15.42 307.9)
CMYK
cmyk(15% 31% 0% 71%)

Tints · Shades · Tones

Tints

  • 51465B
  • 62586C
  • 746B7D
  • 877F8F
  • 9A93A1
  • ADA8B3
  • C1BDC5
  • D5D3D8
  • EAE9EC

Shades

  • 362C40
  • 2D2435
  • 241C2B
  • 1B1521
  • 130E17
  • 0B070E
  • 050306
  • 010102
  • 000000

Tones

  • 463B50
  • 4C4255
  • 524A5B
  • 595160
  • 5F5965
  • 66616B
  • 6C6870
  • 737075
  • 79787B

Color harmonies

Complementary +180°

  • 40344B

    Call It a Night

  • 333E26

    ≈ Turtle Skin

Analogous -30° +30°

  • 40344B

    Call It a Night

  • 353850

    ≈ Old Mill

  • 493142

    ≈ Red Onion

Triadic +120° +240°

  • 40344B

    Call It a Night

  • 493621

    ≈ Café Noir

  • 1D413E

    ≈ Pine Hollow

Split-complementary +150° +210°

  • 40344B

    Call It a Night

  • 403A20

    ≈ Lisbon Brown

  • 264131

    ≈ English Holly

Tetradic +90° +180° +270°

  • 40344B

    Call It a Night

  • 4D322A

    ≈ Barn Swallow

  • 333E26

    ≈ Turtle Skin

  • 1E3F49

    ≈ Bay Isle Pointe

Contrast & accessibility

Ag

On white

WCAG 11.59:1 · APCA Lc 97

AAA
Ag

On black

WCAG 1.81:1 · APCA Lc 0

Fail

Best text color: #FFFFFF

WCAG 11.59:1 (AAA) · APCA Lc 97

Contrast pairs

  • #40344B / #FFFFFF
  • #40344B / #000000
  • #FFFFFF / #40344B
  • #000000 / #40344B

Code snippets

CSS

:root {
  --call-it-a-night: #40344b;
  --call-it-a-night-rgb: 64 52 75;
  --call-it-a-night-oklch: oklch(0.348 0.042 308.1);
}

.element {
  color: var(--call-it-a-night);
  background-color: hsl(271 18% 25%);
  border-color: oklch(0.348 0.042 308.1);
}

Tailwind CSS v4

@theme {
  --color-call-it-a-night: #40344b;
  --color-call-it-a-night-50: #f9f2fe;
  --color-call-it-a-night-100: #ece4f3;
  --color-call-it-a-night-200: #dad0e2;
  --color-call-it-a-night-300: #beb2c8;
  --color-call-it-a-night-400: #a598b2;
  --color-call-it-a-night-500: #8e7f9c;
  --color-call-it-a-night-600: #786c84;
  --color-call-it-a-night-700: #60566a;
  --color-call-it-a-night-800: #463f4e;
  --color-call-it-a-night-900: #302b36;
  --color-call-it-a-night-950: #1d1921;
}

SCSS

$call-it-a-night: #40344b;
$call-it-a-night-rgb: 64, 52, 75;
$call-it-a-night-light: mix(#fff, $call-it-a-night, 20%);
$call-it-a-night-dark: mix(#000, $call-it-a-night, 20%);

.element {
  color: $call-it-a-night;
  box-shadow: 0 0 0 2px rgba($call-it-a-night, 0.35);
}

Similar named colors

  • 3E354D

    Caddies Silk

  • 3F354F

    Maharaja

  • 42364C

    Call It a Night

  • 403547

    Royal Decree

  • 42314B

    Acai Berry

  • 423450

    Devil’s Plum

  • 3B3549

    Plush

  • 46354B

    Purple Verbena

  • 39334A

    Chrysomela Goettingensis

  • 433748

    Wineshade

  • 3C3748

    Martinique

  • 3E3542

    Royal Coronation

Palettes with this color

  • Steady Neon Violet EmberTrending · Pink

Palettes with similar colors

  • Prickly Purple MeadowPink · Gray
  • Pure Blackberry Yoghurt NoirRed · Gray
  • True Rosecco CascadeRed · Gray
  • Steady Stormy Horizon QuartzPink · Gray
  • Pure Chocolate Temptation EmberOrange · Gray
  • Muted Haunted Candelabra RibbonPink · Gray

Open in tools

PickerPairsContrast checkerStudioJSON API
Colorise Pro

Free OKLCH color workspace: precision color picker, color pairs, WCAG & APCA contrast checker, palette from image, Studio systems, names, gradients, and brand tools. Export HEX, CSS, Tailwind & DTCG.

OKLCH Engine

Product

  • Home
  • Explore
  • Studio
  • Color Names
  • Color Codes

Tools

  • Color Picker
  • Color Pairs
  • Contrast Checker
  • Image Extract
  • Gradient Lab
  • Palette Diff
  • Brand from URL
  • For presentations
  • For business cards
  • For SaaS landings
  • Duo pairs
  • Trio systems

Guides

  • All guides
  • OKLCH vs HSL
  • WCAG vs APCA
  • OKLCH color scales
  • Gamut & sRGB
  • Extract from images
  • HEX to OKLCH
  • Dark mode colors
  • Color meanings

Legal

  • Privacy
  • Terms

© 2026 Colorise Pro. All rights reserved.

© 2026 Colorise Pro. Built for precision color work.

Report infringement: [email protected] (Colorise Pro)

PrivacyTermsOKLCH · WCAG · APCA