#39247D#39247D

#39247D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.142 H 287.3°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#39247D
RGBrgb(57, 36, 125)
HSLhsl(254, 55%, 32%)
HSVhsv(254, 71%, 49%)
CMYKcmyk(54.4%, 71.2%, 0%, 51%)
CIE-LABlab(22.34, 34.01, -47.16)
CIE-LCHlch(22.34, 58.14, 305.80°)
OKLaboklab(34.53% 0.0422 -0.1354)
OKLCHoklch(34.53% 0.142 287.3)
XYZxyz(6.0188, 3.6120, 19.7781)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39247D #687D24
analogous
#243C7D #39247D #66247D
triadic
#39247D #7D3924 #247D39
tetradic
#39247D #7D243C #687D24 #247D66
square
#39247D #7D243C #687D24 #247D66
split-complementary
#39247D #7D6624 #3C7D24
monochromatic
#0E091E #23164D #39247D #4F32AD #6D4FCC

Accessibility & contrast

On white

12.19
#39247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#39247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39247D
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39247D#FFFFFF#000000##FFFFFF
##39247D1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#1F3B4D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #39247d;
/* rgb */ color: rgb(57, 36, 125);
/* oklch */ color: oklch(34.5% 0.142 287.3);
Tailwind
colors: {
  custom: {
    50: '#7760a3',
    500: '#39247d',
    950: '#000000',
  },
}
SCSS
$custom: #39247d;
$custom-light: #7760a3;
$custom-dark: #000000;
JSON
{
  "hex": "#39247d",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 254.157,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34534,
    "c": 0.14187,
    "h": 287.3
  },
  "luminance": 0.03612
}

Semantic roles & 50–950 ramp

primary
#39247D
secondary
#98AF4D
accent
#DF49BB
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39247D

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

Preview Lab → · Contrast checker → · Palette generator →

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