#39258D#39258D

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

Color values

HEX#39258D
RGBrgb(57, 37, 141)
HSLhsl(252, 58%, 35%)
HSVhsv(252, 74%, 55%)
CMYKcmyk(59.6%, 73.8%, 0%, 44.7%)
CIE-LABlab(24.05, 38.49, -54.41)
CIE-LCHlch(24.05, 66.65, 305.28°)
OKLaboklab(36.21% 0.0381 -0.1567)
OKLCHoklch(36.21% 0.161 283.7)
XYZxyz(7.1552, 4.1156, 25.6115)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39258D #798D25
analogous
#25458D #39258D #6D258D
triadic
#39258D #8D3925 #258D39
tetradic
#39258D #8D2545 #798D25 #258D6D
square
#39258D #8D2545 #798D25 #258D6D
split-complementary
#39258D #8D6D25 #458D25
monochromatic
#120C2C #25185D #39258D #4D32BD #7159D3

Accessibility & contrast

On white

11.52
#39258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#39258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39258D
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39258D#FFFFFF#000000##FFFFFF
##39258D1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#084156
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #39258d;
/* rgb */ color: rgb(57, 37, 141);
/* oklch */ color: oklch(36.2% 0.161 283.7);
Tailwind
colors: {
  custom: {
    50: '#7a62af',
    500: '#39258d',
    950: '#000000',
  },
}
SCSS
$custom: #39258d;
$custom-light: #7a62af;
$custom-dark: #000000;
JSON
{
  "hex": "#39258d",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 251.538,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3621,
    "c": 0.16127,
    "h": 283.7
  },
  "luminance": 0.04116
}

Semantic roles & 50–950 ramp

primary
#39258D
secondary
#A5B856
accent
#E246C4
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #39258D

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

Preview Lab → · Contrast checker → · Palette generator →

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