#39248D#39248D

#39248D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.162 H 283.9°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#39248D
RGBrgb(57, 36, 141)
HSLhsl(252, 59%, 35%)
HSVhsv(252, 74%, 55%)
CMYKcmyk(59.6%, 74.5%, 0%, 44.7%)
CIE-LABlab(23.85, 39.05, -54.74)
CIE-LCHlch(23.85, 67.24, 305.51°)
OKLaboklab(36.07% 0.0389 -0.1577)
OKLCHoklch(36.07% 0.162 283.9)
XYZxyz(7.1245, 4.0542, 25.6013)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39248D #788D24
analogous
#24448D #39248D #6E248D
triadic
#39248D #8D3924 #248D39
tetradic
#39248D #8D2444 #788D24 #248D6E
square
#39248D #8D2444 #788D24 #248D6E
split-complementary
#39248D #8D6E24 #448D24
monochromatic
#120B2B #25185C #39248D #4D30BE #7057D4

Accessibility & contrast

On white

11.60
#39248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#39248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39248D
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39248D#FFFFFF#000000##FFFFFF
##39248D1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#084156
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #39248d;
/* rgb */ color: rgb(57, 36, 141);
/* oklch */ color: oklch(36.1% 0.162 283.9);
Tailwind
colors: {
  custom: {
    50: '#7a61af',
    500: '#39248d',
    950: '#000000',
  },
}
SCSS
$custom: #39248d;
$custom-light: #7a61af;
$custom-dark: #000000;
JSON
{
  "hex": "#39248d",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 252,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36068,
    "c": 0.1624,
    "h": 283.9
  },
  "luminance": 0.04055
}

Semantic roles & 50–950 ramp

primary
#39248D
secondary
#A4B854
accent
#E345C3
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #39248D

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

Preview Lab → · Contrast checker → · Palette generator →

#39248D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva