#39257E#39257E

#39257E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.142 H 286.8°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#39257E
RGBrgb(57, 37, 126)
HSLhsl(253, 55%, 32%)
HSVhsv(253, 71%, 49%)
CMYKcmyk(54.8%, 70.6%, 0%, 50.6%)
CIE-LABlab(22.65, 33.74, -47.29)
CIE-LCHlch(22.65, 58.09, 305.51°)
OKLaboklab(34.78% 0.0411 -0.1358)
OKLCHoklch(34.78% 0.142 286.8)
XYZxyz(6.1137, 3.6990, 20.1265)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39257E #6A7E25
analogous
#253E7E #39257E #66257E
triadic
#39257E #7E3925 #257E39
tetradic
#39257E #7E253E #6A7E25 #257E66
square
#39257E #7E253E #6A7E25 #257E66
split-complementary
#39257E #7E6625 #3E7E25
monochromatic
#0E091F #24174F #39257E #4E33AD #6D51CC

Accessibility & contrast

On white

12.07
#39257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#39257E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39257E
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39257E#FFFFFF#000000##FFFFFF
##39257E1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#1E3C4E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #39257e;
/* rgb */ color: rgb(57, 37, 126);
/* oklch */ color: oklch(34.8% 0.142 286.8);
Tailwind
colors: {
  custom: {
    50: '#7761a4',
    500: '#39257e',
    950: '#000000',
  },
}
SCSS
$custom: #39257e;
$custom-light: #7761a4;
$custom-dark: #000000;
JSON
{
  "hex": "#39257e",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 253.483,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34781,
    "c": 0.14192,
    "h": 286.8
  },
  "luminance": 0.03699
}

Semantic roles & 50–950 ramp

primary
#39257E
secondary
#9AB04F
accent
#DE4ABD
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39257E

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

Preview Lab → · Contrast checker → · Palette generator →

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