#39239D#39239D

#39239D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.183 H 281.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#39239D
RGBrgb(57, 35, 157)
HSLhsl(251, 64%, 38%)
HSVhsv(251, 78%, 62%)
CMYKcmyk(63.7%, 77.7%, 0%, 38.4%)
CIE-LABlab(25.28, 44.55, -62.25)
CIE-LCHlch(25.28, 76.55, 305.59°)
OKLaboklab(37.56% 0.0356 -0.1796)
OKLCHoklch(37.56% 0.183 281.2)
XYZxyz(8.3723, 4.5056, 32.3202)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39239D #879D23
analogous
#234A9D #39239D #76239D
triadic
#39239D #9D3923 #239D39
tetradic
#39239D #9D234A #879D23 #239D76
square
#39239D #9D234A #879D23 #239D76
split-complementary
#39239D #9D7623 #4A9D23
monochromatic
#150D39 #27186B #39239D #4B2ECF #755FDB

Accessibility & contrast

On white

11.05
#39239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#39239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39239D
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39239D#FFFFFF#000000##FFFFFF
##39239D1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #39239d;
/* rgb */ color: rgb(57, 35, 157);
/* oklch */ color: oklch(37.6% 0.183 281.2);
Tailwind
colors: {
  custom: {
    50: '#7d61bb',
    500: '#39239d',
    950: '#000000',
  },
}
SCSS
$custom: #39239d;
$custom-light: #7d61bb;
$custom-dark: #000000;
JSON
{
  "hex": "#39239d",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 250.82,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37561,
    "c": 0.18309,
    "h": 281.2
  },
  "luminance": 0.04506
}

Semantic roles & 50–950 ramp

primary
#39239D
secondary
#AEC05C
accent
#E741C9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #39239D

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

Preview Lab → · Contrast checker → · Palette generator →

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