#39126A#39126A

#39126A is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.140 H 297.2°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#39126A
RGBrgb(57, 18, 106)
HSLhsl(267, 71%, 24%)
HSVhsv(267, 83%, 42%)
CMYKcmyk(46.2%, 83%, 0%, 58.4%)
CIE-LABlab(17.19, 37.87, -43.35)
CIE-LCHlch(17.19, 57.56, 311.14°)
OKLaboklab(30.34% 0.0638 -0.1242)
OKLCHoklch(30.34% 0.14 297.2)
XYZxyz(4.5045, 2.3430, 13.8478)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39126A #436A12
analogous
#12176A #39126A #65126A
triadic
#39126A #6A3912 #126A39
tetradic
#39126A #6A1217 #436A12 #126A65
square
#39126A #6A1217 #436A12 #126A65
split-complementary
#39126A #6A6512 #176A12
monochromatic
#0E041A #1D0936 #39126A #551B9E #7124D3

Accessibility & contrast

On white

14.30
#39126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#39126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39126A
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39126A#FFFFFF#000000##FFFFFF
##39126A1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002968
Tritanopia (blue-blind)
#2C2B3E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #39126a;
/* rgb */ color: rgb(57, 18, 106);
/* oklch */ color: oklch(30.3% 0.140 297.2);
Tailwind
colors: {
  custom: {
    50: '#755595',
    500: '#39126a',
    950: '#000000',
  },
}
SCSS
$custom: #39126a;
$custom-light: #755595;
$custom-dark: #000000;
JSON
{
  "hex": "#39126a",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 266.591,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30343,
    "c": 0.13961,
    "h": 297.2
  },
  "luminance": 0.02343
}

Semantic roles & 50–950 ramp

primary
#39126A
secondary
#72A236
accent
#EE3A9E
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #39126A

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

Preview Lab → · Contrast checker → · Palette generator →

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