#392387#392387

#392387 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.156 H 285.3°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#392387
RGBrgb(57, 35, 135)
HSLhsl(253, 59%, 33%)
HSVhsv(253, 74%, 53%)
CMYKcmyk(57.8%, 74.1%, 0%, 47.1%)
CIE-LABlab(23.07, 37.73, -52.27)
CIE-LCHlch(23.07, 64.47, 305.82°)
OKLaboklab(35.34% 0.0411 -0.1504)
OKLCHoklch(35.34% 0.156 285.3)
XYZxyz(6.6602, 3.8208, 23.3035)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392387 #718723
analogous
#233F87 #392387 #6B2387
triadic
#392387 #873923 #238739
tetradic
#392387 #87233F #718723 #23876B
square
#392387 #87233F #718723 #23876B
split-complementary
#392387 #876B23 #3F8723
monochromatic
#100A26 #241656 #392387 #4E30B8 #6E52D2

Accessibility & contrast

On white

11.90
#392387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#392387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392387
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392387#FFFFFF#000000##FFFFFF
##3923871.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#143E53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #392387;
/* rgb */ color: rgb(57, 35, 135);
/* oklch */ color: oklch(35.3% 0.156 285.3);
Tailwind
colors: {
  custom: {
    50: '#7960ab',
    500: '#392387',
    950: '#000000',
  },
}
SCSS
$custom: #392387;
$custom-light: #7960ab;
$custom-dark: #000000;
JSON
{
  "hex": "#392387",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 253.2,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35338,
    "c": 0.15596,
    "h": 285.3
  },
  "luminance": 0.03821
}

Semantic roles & 50–950 ramp

primary
#392387
secondary
#A0B650
accent
#E246C0
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392387

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

Preview Lab → · Contrast checker → · Palette generator →

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