#39123F#39123F

#39123F is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.7% C 0.091 H 322.1°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#39123F
RGBrgb(57, 18, 63)
HSLhsl(292, 56%, 16%)
HSVhsv(292, 71%, 25%)
CMYKcmyk(9.5%, 71.4%, 0%, 75.3%)
CIE-LABlab(13.60, 26.85, -19.98)
CIE-LCHlch(13.60, 33.47, 323.34°)
OKLaboklab(26.67% 0.0715 -0.0556)
OKLCHoklch(26.67% 0.091 322.1)
XYZxyz(2.8008, 1.6615, 4.8748)
Luminance0.0166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39123F #183F12
analogous
#22123F #39123F #3F122E
triadic
#39123F #3F3912 #123F39
tetradic
#39123F #3F2212 #183F12 #122E3F
square
#39123F #3F2212 #183F12 #122E3F
split-complementary
#39123F #2E3F12 #123F22
monochromatic
#160718 #160718 #39123F #64206F #8F2D9E

Accessibility & contrast

On white

15.76
#39123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#39123F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39123F
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39123F#FFFFFF#000000##FFFFFF
##39123F1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082040
Deuteranopia (green-blind)
#18243E
Tritanopia (blue-blind)
#3A1926
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #39123f;
/* rgb */ color: rgb(57, 18, 63);
/* oklch */ color: oklch(26.7% 0.091 322.1);
Tailwind
colors: {
  custom: {
    50: '#715374',
    500: '#39123f',
    950: '#000000',
  },
}
SCSS
$custom: #39123f;
$custom-light: #715374;
$custom-dark: #000000;
JSON
{
  "hex": "#39123f",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 292,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26668,
    "c": 0.09058,
    "h": 322.1
  },
  "luminance": 0.01661
}

Semantic roles & 50–950 ramp

primary
#39123F
secondary
#3E7835
accent
#DF495D
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #39123F

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

Preview Lab → · Contrast checker → · Palette generator →

#39123F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva