#39278D#39278D

#39278D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.159 H 283.3°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#39278D
RGBrgb(57, 39, 141)
HSLhsl(251, 57%, 35%)
HSVhsv(251, 72%, 55%)
CMYKcmyk(59.6%, 72.3%, 0%, 44.7%)
CIE-LABlab(24.46, 37.35, -53.73)
CIE-LCHlch(24.46, 65.44, 304.80°)
OKLaboklab(36.5% 0.0365 -0.1547)
OKLCHoklch(36.5% 0.159 283.3)
XYZxyz(7.2191, 4.2435, 25.6328)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39278D #7B8D27
analogous
#27488D #39278D #6C278D
triadic
#39278D #8D3927 #278D39
tetradic
#39278D #8D2748 #7B8D27 #278D6C
square
#39278D #8D2748 #7B8D27 #278D6C
split-complementary
#39278D #8D6C27 #488D27
monochromatic
#120C2D #261A5D #39278D #4C34BD #715CD2

Accessibility & contrast

On white

11.36
#39278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#39278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39278D
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39278D#FFFFFF#000000##FFFFFF
##39278D1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#074257
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #39278d;
/* rgb */ color: rgb(57, 39, 141);
/* oklch */ color: oklch(36.5% 0.159 283.3);
Tailwind
colors: {
  custom: {
    50: '#7963af',
    500: '#39278d',
    950: '#000000',
  },
}
SCSS
$custom: #39278d;
$custom-light: #7963af;
$custom-dark: #000000;
JSON
{
  "hex": "#39278d",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 250.588,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36502,
    "c": 0.15898,
    "h": 283.3
  },
  "luminance": 0.04244
}

Semantic roles & 50–950 ramp

primary
#39278D
secondary
#A6B759
accent
#E048C5
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #39278D

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

Preview Lab → · Contrast checker → · Palette generator →

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