#39247B#39247B

#39247B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.4% C 0.139 H 287.8°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#39247B
RGBrgb(57, 36, 123)
HSLhsl(254, 55%, 31%)
HSVhsv(254, 71%, 48%)
CMYKcmyk(53.7%, 70.7%, 0%, 51.8%)
CIE-LABlab(22.16, 33.38, -46.18)
CIE-LCHlch(22.16, 56.98, 305.86°)
OKLaboklab(34.35% 0.0426 -0.1326)
OKLCHoklch(34.35% 0.139 287.8)
XYZxyz(5.8923, 3.5614, 19.1120)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39247B #667B24
analogous
#243A7B #39247B #64247B
triadic
#39247B #7B3924 #247B39
tetradic
#39247B #7B243A #667B24 #247B64
square
#39247B #7B243A #667B24 #247B64
split-complementary
#39247B #7B6424 #3A7B24
monochromatic
#0D081C #23164C #39247B #4F32AA #6C4ECB

Accessibility & contrast

On white

12.26
#39247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#39247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39247B
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39247B#FFFFFF#000000##FFFFFF
##39247B1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#203A4C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #39247b;
/* rgb */ color: rgb(57, 36, 123);
/* oklch */ color: oklch(34.4% 0.139 287.8);
Tailwind
colors: {
  custom: {
    50: '#7660a2',
    500: '#39247b',
    950: '#000000',
  },
}
SCSS
$custom: #39247b;
$custom-light: #7660a2;
$custom-dark: #000000;
JSON
{
  "hex": "#39247b",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 254.483,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3435,
    "c": 0.13925,
    "h": 287.8
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#39247B
secondary
#96AD4D
accent
#DE4ABA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39247B

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

Preview Lab → · Contrast checker → · Palette generator →

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