#39278F#39278F

#39278F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.162 H 282.9°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#39278F
RGBrgb(57, 39, 143)
HSLhsl(250, 57%, 36%)
HSVhsv(250, 73%, 56%)
CMYKcmyk(60.1%, 72.7%, 0%, 43.9%)
CIE-LABlab(24.65, 37.99, -54.66)
CIE-LCHlch(24.65, 66.57, 304.80°)
OKLaboklab(36.7% 0.0361 -0.1575)
OKLCHoklch(36.7% 0.162 282.9)
XYZxyz(7.3693, 4.3036, 26.4236)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39278F #7D8F27
analogous
#27498F #39278F #6D278F
triadic
#39278F #8F3927 #278F39
tetradic
#39278F #8F2749 #7D8F27 #278F6D
square
#39278F #8F2749 #7D8F27 #278F6D
split-complementary
#39278F #8F6D27 #498F27
monochromatic
#130D2F #261A5F #39278F #4C34BF #725DD3

Accessibility & contrast

On white

11.29
#39278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#39278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39278F
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39278F#FFFFFF#000000##FFFFFF
##39278F1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#024358
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #39278f;
/* rgb */ color: rgb(57, 39, 143);
/* oklch */ color: oklch(36.7% 0.162 282.9);
Tailwind
colors: {
  custom: {
    50: '#7a63b1',
    500: '#39278f',
    950: '#000000',
  },
}
SCSS
$custom: #39278f;
$custom-light: #7a63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#39278f",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 250.385,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36696,
    "c": 0.16154,
    "h": 282.9
  },
  "luminance": 0.04304
}

Semantic roles & 50–950 ramp

primary
#39278F
secondary
#A8B85A
accent
#E047C6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #39278F

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

Preview Lab → · Contrast checker → · Palette generator →

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