#39248B#39248B

#39248B is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.160 H 284.3°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#39248B
RGBrgb(57, 36, 139)
HSLhsl(252, 59%, 34%)
HSVhsv(252, 74%, 55%)
CMYKcmyk(59%, 74.1%, 0%, 45.5%)
CIE-LABlab(23.66, 38.42, -53.81)
CIE-LCHlch(23.66, 66.12, 305.53°)
OKLaboklab(35.87% 0.0394 -0.1549)
OKLCHoklch(35.87% 0.16 284.3)
XYZxyz(6.9770, 3.9953, 24.8246)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39248B #768B24
analogous
#24438B #39248B #6D248B
triadic
#39248B #8B3924 #248B39
tetradic
#39248B #8B2443 #768B24 #248B6D
square
#39248B #8B2443 #768B24 #248B6D
split-complementary
#39248B #8B6D24 #438B24
monochromatic
#110B2A #25175A #39248B #4D31BC #7056D3

Accessibility & contrast

On white

11.67
#39248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#39248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39248B
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39248B#FFFFFF#000000##FFFFFF
##39248B1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#0D4055
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #39248b;
/* rgb */ color: rgb(57, 36, 139);
/* oklch */ color: oklch(35.9% 0.160 284.3);
Tailwind
colors: {
  custom: {
    50: '#7961ae',
    500: '#39248b',
    950: '#000000',
  },
}
SCSS
$custom: #39248b;
$custom-light: #7961ae;
$custom-dark: #000000;
JSON
{
  "hex": "#39248b",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 252.233,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35871,
    "c": 0.15988,
    "h": 284.3
  },
  "luminance": 0.03996
}

Semantic roles & 50–950 ramp

primary
#39248B
secondary
#A3B753
accent
#E246C2
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #39248B

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

Preview Lab → · Contrast checker → · Palette generator →

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