#39124A#39124A

#39124A is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.103 H 313.7°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#39124A
RGBrgb(57, 18, 74)
HSLhsl(282, 61%, 18%)
HSVhsv(282, 76%, 29%)
CMYKcmyk(23%, 75.7%, 0%, 71%)
CIE-LABlab(14.38, 29.46, -26.41)
CIE-LCHlch(14.38, 39.57, 318.13°)
OKLaboklab(27.48% 0.0711 -0.0744)
OKLCHoklch(27.48% 0.103 313.7)
XYZxyz(3.1395, 1.7970, 6.6587)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39124A #234A12
analogous
#1D124A #39124A #4A123F
triadic
#39124A #4A3912 #124A39
tetradic
#39124A #4A1D12 #234A12 #123F4A
square
#39124A #4A1D12 #234A12 #123F4A
split-complementary
#39124A #3F4A12 #124A1D
monochromatic
#130619 #130619 #39124A #5F1E7B #852AAC

Accessibility & contrast

On white

15.45
#39124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39124A
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39124A#FFFFFF#000000##FFFFFF
##39124A1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#0F2549
Tritanopia (blue-blind)
#371D2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #39124a;
/* rgb */ color: rgb(57, 18, 74);
/* oklch */ color: oklch(27.5% 0.103 313.7);
Tailwind
colors: {
  custom: {
    50: '#72537d',
    500: '#39124a',
    950: '#000000',
  },
}
SCSS
$custom: #39124a;
$custom-light: #72537d;
$custom-dark: #000000;
JSON
{
  "hex": "#39124a",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 281.786,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27484,
    "c": 0.10294,
    "h": 313.7
  },
  "luminance": 0.01797
}

Semantic roles & 50–950 ramp

primary
#39124A
secondary
#4D8335
accent
#E44474
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #39124A

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

Preview Lab → · Contrast checker → · Palette generator →

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