#392867#392867

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

Color values

HEX#392867
RGBrgb(57, 40, 103)
HSLhsl(256, 44%, 28%)
HSVhsv(256, 61%, 40%)
CMYKcmyk(44.7%, 61.2%, 0%, 59.6%)
CIE-LABlab(21.46, 24.56, -34.46)
CIE-LCHlch(21.46, 42.32, 305.48°)
OKLaboklab(33.32% 0.0398 -0.0981)
OKLCHoklch(33.32% 0.106 292.1)
XYZxyz(4.8936, 3.3666, 13.2213)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392867 #566728
analogous
#283767 #392867 #582867
triadic
#392867 #673928 #286739
tetradic
#392867 #672837 #566728 #286758
square
#392867 #672837 #566728 #286758
split-complementary
#392867 #675828 #376728
monochromatic
#0C0916 #21173B #392867 #513993 #6C4FBB

Accessibility & contrast

On white

12.55
#392867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#392867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392867
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392867#FFFFFF#000000##FFFFFF
##3928671.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033469
Deuteranopia (green-blind)
#083266
Tritanopia (blue-blind)
#2C3643
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #392867;
/* rgb */ color: rgb(57, 40, 103);
/* oklch */ color: oklch(33.3% 0.106 292.1);
Tailwind
colors: {
  custom: {
    50: '#736293',
    500: '#392867',
    950: '#000000',
  },
}
SCSS
$custom: #392867;
$custom-light: #736293;
$custom-dark: #000000;
JSON
{
  "hex": "#392867",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 103
  },
  "hsl": {
    "h": 256.19,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33319,
    "c": 0.1059,
    "h": 292.1
  },
  "luminance": 0.03367
}

Semantic roles & 50–950 ramp

primary
#392867
secondary
#869A51
accent
#D454B1
background
#F7F5F9
surface
#EDEAF1
border
#C8C6CB
text
#08050D
muted
#7B797E

Preview Lab

Preview with #392867

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

Preview Lab → · Contrast checker → · Palette generator →

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