#39258B#39258B

#39258B is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.159 H 284.1°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#39258B
RGBrgb(57, 37, 139)
HSLhsl(252, 58%, 35%)
HSVhsv(252, 73%, 55%)
CMYKcmyk(59%, 73.4%, 0%, 45.5%)
CIE-LABlab(23.86, 37.86, -53.48)
CIE-LCHlch(23.86, 65.52, 305.30°)
OKLaboklab(36.02% 0.0386 -0.154)
OKLCHoklch(36.02% 0.159 284.1)
XYZxyz(7.0077, 4.0566, 24.8348)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39258B #778B25
analogous
#25448B #39258B #6C258B
triadic
#39258B #8B3925 #258B39
tetradic
#39258B #8B2544 #778B25 #258B6C
square
#39258B #8B2544 #778B25 #258B6C
split-complementary
#39258B #8B6C25 #448B25
monochromatic
#110B2A #25185B #39258B #4D32BB #7058D3

Accessibility & contrast

On white

11.59
#39258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#39258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39258B
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39258B#FFFFFF#000000##FFFFFF
##39258B1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#0C4155
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #39258b;
/* rgb */ color: rgb(57, 37, 139);
/* oklch */ color: oklch(36.0% 0.159 284.1);
Tailwind
colors: {
  custom: {
    50: '#7962ae',
    500: '#39258b',
    950: '#000000',
  },
}
SCSS
$custom: #39258b;
$custom-light: #7962ae;
$custom-dark: #000000;
JSON
{
  "hex": "#39258b",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 251.765,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36015,
    "c": 0.15873,
    "h": 284.1
  },
  "luminance": 0.04057
}

Semantic roles & 50–950 ramp

primary
#39258B
secondary
#A4B755
accent
#E147C3
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #39258B

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

Preview Lab → · Contrast checker → · Palette generator →

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