#392B74#392B74

#392B74 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 34.9% C 0.120 H 287.3°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#392B74
RGBrgb(57, 43, 116)
HSLhsl(252, 46%, 31%)
HSVhsv(252, 63%, 45%)
CMYKcmyk(50.9%, 62.9%, 0%, 54.5%)
CIE-LABlab(23.20, 26.79, -40.04)
CIE-LCHlch(23.20, 48.17, 303.79°)
OKLaboklab(34.91% 0.0357 -0.1145)
OKLCHoklch(34.91% 0.12 287.3)
XYZxyz(5.7027, 3.8583, 16.9639)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392B74 #66742B
analogous
#2B4174 #392B74 #5D2B74
triadic
#392B74 #74392B #2B7439
tetradic
#392B74 #742B41 #66742B #2B745D
square
#392B74 #742B41 #66742B #2B745D
split-complementary
#392B74 #745D2B #41742B
monochromatic
#0D0A1B #231A47 #392B74 #4F3CA1 #6C58C1

Accessibility & contrast

On white

11.85
#392B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#392B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392B74
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392B74#FFFFFF#000000##FFFFFF
##392B741.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#253C4B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #392b74;
/* rgb */ color: rgb(57, 43, 116);
/* oklch */ color: oklch(34.9% 0.120 287.3);
Tailwind
colors: {
  custom: {
    50: '#75659d',
    500: '#392b74',
    950: '#000000',
  },
}
SCSS
$custom: #392b74;
$custom-light: #75659d;
$custom-dark: #000000;
JSON
{
  "hex": "#392b74",
  "rgb": {
    "r": 57,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 251.507,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34914,
    "c": 0.11994,
    "h": 287.3
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#392B74
secondary
#96A655
accent
#D652BC
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #392B74

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

Preview Lab → · Contrast checker → · Palette generator →

#392B74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva