#39248E#39248E

#39248E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.164 H 283.7°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#39248E
RGBrgb(57, 36, 142)
HSLhsl(252, 60%, 35%)
HSVhsv(252, 75%, 56%)
CMYKcmyk(59.9%, 74.6%, 0%, 44.3%)
CIE-LABlab(23.95, 39.37, -55.20)
CIE-LCHlch(23.95, 67.80, 305.50°)
OKLaboklab(36.17% 0.0387 -0.159)
OKLCHoklch(36.17% 0.164 283.7)
XYZxyz(7.1992, 4.0841, 25.9949)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39248E #798E24
analogous
#24448E #39248E #6E248E
triadic
#39248E #8E3924 #248E39
tetradic
#39248E #8E2444 #798E24 #248E6E
square
#39248E #8E2444 #798E24 #248E6E
split-complementary
#39248E #8E6E24 #448E24
monochromatic
#120B2C #25185D #39248E #4D30BF #7158D5

Accessibility & contrast

On white

11.56
#39248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#39248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39248E
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39248E#FFFFFF#000000##FFFFFF
##39248E1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#054157
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #39248e;
/* rgb */ color: rgb(57, 36, 142);
/* oklch */ color: oklch(36.2% 0.164 283.7);
Tailwind
colors: {
  custom: {
    50: '#7a61b0',
    500: '#39248e',
    950: '#000000',
  },
}
SCSS
$custom: #39248e;
$custom-light: #7a61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#39248e",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 251.887,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36167,
    "c": 0.16365,
    "h": 283.7
  },
  "luminance": 0.04085
}

Semantic roles & 50–950 ramp

primary
#39248E
secondary
#A5B955
accent
#E345C3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #39248E

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

Preview Lab → · Contrast checker → · Palette generator →

#39248E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva