#39257F#39257F

#39257F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.143 H 286.6°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#39257F
RGBrgb(57, 37, 127)
HSLhsl(253, 55%, 32%)
HSVhsv(253, 71%, 50%)
CMYKcmyk(55.1%, 70.9%, 0%, 50.2%)
CIE-LABlab(22.74, 34.06, -47.78)
CIE-LCHlch(22.74, 58.67, 305.48°)
OKLaboklab(34.87% 0.0409 -0.1373)
OKLCHoklch(34.87% 0.143 286.6)
XYZxyz(6.1785, 3.7250, 20.4680)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39257F #6B7F25
analogous
#253E7F #39257F #66257F
triadic
#39257F #7F3925 #257F39
tetradic
#39257F #7F253E #6B7F25 #257F66
square
#39257F #7F253E #6B7F25 #257F66
split-complementary
#39257F #7F6625 #3E7F25
monochromatic
#0E0920 #241750 #39257F #4E33AE #6D52CD

Accessibility & contrast

On white

12.03
#39257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#39257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39257F
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39257F#FFFFFF#000000##FFFFFF
##39257F1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#1D3C4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #39257f;
/* rgb */ color: rgb(57, 37, 127);
/* oklch */ color: oklch(34.9% 0.143 286.6);
Tailwind
colors: {
  custom: {
    50: '#7761a5',
    500: '#39257f',
    950: '#000000',
  },
}
SCSS
$custom: #39257f;
$custom-light: #7761a5;
$custom-dark: #000000;
JSON
{
  "hex": "#39257f",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 253.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34874,
    "c": 0.14323,
    "h": 286.6
  },
  "luminance": 0.03725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39257F

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

Preview Lab → · Contrast checker → · Palette generator →

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