#39259C#39259C

#39259C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.180 H 281.1°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#39259C
RGBrgb(57, 37, 156)
HSLhsl(250, 62%, 38%)
HSVhsv(250, 76%, 61%)
CMYKcmyk(63.5%, 76.3%, 0%, 38.8%)
CIE-LABlab(25.54, 43.20, -61.20)
CIE-LCHlch(25.54, 74.91, 305.21°)
OKLaboklab(37.71% 0.0346 -0.1766)
OKLCHoklch(37.71% 0.18 281.1)
XYZxyz(8.3478, 4.5927, 31.8926)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39259C #889C25
analogous
#254C9C #39259C #74259C
triadic
#39259C #9C3925 #259C39
tetradic
#39259C #9C254C #889C25 #259C74
square
#39259C #9C254C #889C25 #259C74
split-complementary
#39259C #9C7425 #4C9C25
monochromatic
#150E39 #27196B #39259C #4B31CD #7662DA

Accessibility & contrast

On white

10.95
#39259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#39259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39259C
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39259C#FFFFFF#000000##FFFFFF
##39259C1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #39259c;
/* rgb */ color: rgb(57, 37, 156);
/* oklch */ color: oklch(37.7% 0.180 281.1);
Tailwind
colors: {
  custom: {
    50: '#7d62ba',
    500: '#39259c',
    950: '#000000',
  },
}
SCSS
$custom: #39259c;
$custom-light: #7d62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#39259c",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 250.084,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37715,
    "c": 0.17991,
    "h": 281.1
  },
  "luminance": 0.04593
}

Semantic roles & 50–950 ramp

primary
#39259C
secondary
#AFBF5E
accent
#E543CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #39259C

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

Preview Lab → · Contrast checker → · Palette generator →

#39259C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva