#392964#392964

#392964 is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.3% C 0.100 H 292.6°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#392964
RGBrgb(57, 41, 100)
HSLhsl(256, 42%, 28%)
HSVhsv(256, 59%, 39%)
CMYKcmyk(43%, 59%, 0%, 60.8%)
CIE-LABlab(21.49, 22.96, -32.45)
CIE-LCHlch(21.49, 39.75, 305.29°)
OKLaboklab(33.27% 0.0385 -0.0922)
OKLCHoklch(33.27% 0.1 292.6)
XYZxyz(4.7799, 3.3757, 12.4539)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392964 #546429
analogous
#293764 #392964 #562964
triadic
#392964 #643929 #296439
tetradic
#392964 #642937 #546429 #296456
square
#392964 #642937 #546429 #296456
split-complementary
#392964 #645629 #376429
monochromatic
#0C0916 #201739 #392964 #523B8F #6C50B7

Accessibility & contrast

On white

12.54
#392964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#392964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392964
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392964#FFFFFF#000000##FFFFFF
##3929641.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3466
Deuteranopia (green-blind)
#103263
Tritanopia (blue-blind)
#2E3542
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #392964;
/* rgb */ color: rgb(57, 41, 100);
/* oklch */ color: oklch(33.3% 0.100 292.6);
Tailwind
colors: {
  custom: {
    50: '#736390',
    500: '#392964',
    950: '#000000',
  },
}
SCSS
$custom: #392964;
$custom-light: #736390;
$custom-dark: #000000;
JSON
{
  "hex": "#392964",
  "rgb": {
    "r": 57,
    "g": 41,
    "b": 100
  },
  "hsl": {
    "h": 256.271,
    "s": 41.844,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33274,
    "c": 0.0999,
    "h": 292.6
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#392964
secondary
#849652
accent
#D256B0
background
#F7F5F8
surface
#EDEAF0
border
#C8C6CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #392964

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#392964 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva