#39124B#39124B

#39124B is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.104 H 313.0°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#39124B
RGBrgb(57, 18, 75)
HSLhsl(281, 61%, 18%)
HSVhsv(281, 76%, 29%)
CMYKcmyk(24%, 76%, 0%, 70.6%)
CIE-LABlab(14.46, 29.71, -26.98)
CIE-LCHlch(14.46, 40.13, 317.76°)
OKLaboklab(27.56% 0.071 -0.0761)
OKLCHoklch(27.56% 0.104 313)
XYZxyz(3.1734, 1.8106, 6.8376)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39124B #244B12
analogous
#1C124B #39124B #4B1240
triadic
#39124B #4B3912 #124B39
tetradic
#39124B #4B1C12 #244B12 #12404B
square
#39124B #4B1C12 #244B12 #12404B
split-complementary
#39124B #404B12 #124B1C
monochromatic
#130619 #13061A #39124B #5F1E7C #842AAE

Accessibility & contrast

On white

15.42
#39124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#39124B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39124B
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39124B#FFFFFF#000000##FFFFFF
##39124B1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234D
Deuteranopia (green-blind)
#0D254A
Tritanopia (blue-blind)
#371E2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #39124b;
/* rgb */ color: rgb(57, 18, 75);
/* oklch */ color: oklch(27.6% 0.104 313.0);
Tailwind
colors: {
  custom: {
    50: '#72547e',
    500: '#39124b',
    950: '#000000',
  },
}
SCSS
$custom: #39124b;
$custom-light: #72547e;
$custom-dark: #000000;
JSON
{
  "hex": "#39124b",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 281.053,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27563,
    "c": 0.10408,
    "h": 313
  },
  "luminance": 0.0181
}

Semantic roles & 50–950 ramp

primary
#39124B
secondary
#4E8435
accent
#E44376
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #39124B

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

Preview Lab → · Contrast checker → · Palette generator →

#39124B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva