#39258E#39258E

#39258E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.163 H 283.5°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#39258E
RGBrgb(57, 37, 142)
HSLhsl(251, 59%, 35%)
HSVhsv(251, 74%, 56%)
CMYKcmyk(59.9%, 73.9%, 0%, 44.3%)
CIE-LABlab(24.15, 38.81, -54.87)
CIE-LCHlch(24.15, 67.21, 305.27°)
OKLaboklab(36.31% 0.0379 -0.1581)
OKLCHoklch(36.31% 0.163 283.5)
XYZxyz(7.2299, 4.1455, 26.0051)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39258E #7A8E25
analogous
#25458E #39258E #6E258E
triadic
#39258E #8E3925 #258E39
tetradic
#39258E #8E2545 #7A8E25 #258E6E
square
#39258E #8E2545 #7A8E25 #258E6E
split-complementary
#39258E #8E6E25 #458E25
monochromatic
#120C2D #26185D #39258E #4C32BF #715AD4

Accessibility & contrast

On white

11.48
#39258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#39258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39258E
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39258E#FFFFFF#000000##FFFFFF
##39258E1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#054257
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #39258e;
/* rgb */ color: rgb(57, 37, 142);
/* oklch */ color: oklch(36.3% 0.163 283.5);
Tailwind
colors: {
  custom: {
    50: '#7a62b0',
    500: '#39258e',
    950: '#000000',
  },
}
SCSS
$custom: #39258e;
$custom-light: #7a62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#39258e",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 251.429,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36308,
    "c": 0.16254,
    "h": 283.5
  },
  "luminance": 0.04146
}

Semantic roles & 50–950 ramp

primary
#39258E
secondary
#A6B956
accent
#E246C4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #39258E

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

Preview Lab → · Contrast checker → · Palette generator →

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