#39278C#39278C

#39278C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.158 H 283.4°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#39278C
RGBrgb(57, 39, 140)
HSLhsl(251, 56%, 35%)
HSVhsv(251, 72%, 55%)
CMYKcmyk(59.3%, 72.1%, 0%, 45.1%)
CIE-LABlab(24.37, 37.03, -53.27)
CIE-LCHlch(24.37, 64.87, 304.80°)
OKLaboklab(36.41% 0.0367 -0.1534)
OKLCHoklch(36.41% 0.158 283.4)
XYZxyz(7.1450, 4.2139, 25.2427)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39278C #7A8C27
analogous
#27478C #39278C #6B278C
triadic
#39278C #8C3927 #278C39
tetradic
#39278C #8C2747 #7A8C27 #278C6B
square
#39278C #8C2747 #7A8C27 #278C6B
split-complementary
#39278C #8C6B27 #478C27
monochromatic
#120C2C #261A5C #39278C #4C34BC #715CD2

Accessibility & contrast

On white

11.40
#39278C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#39278C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39278C
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39278C#FFFFFF#000000##FFFFFF
##39278C1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#0A4256
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #39278c;
/* rgb */ color: rgb(57, 39, 140);
/* oklch */ color: oklch(36.4% 0.158 283.4);
Tailwind
colors: {
  custom: {
    50: '#7963af',
    500: '#39278c',
    950: '#000000',
  },
}
SCSS
$custom: #39278c;
$custom-light: #7963af;
$custom-dark: #000000;
JSON
{
  "hex": "#39278c",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 250.693,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36406,
    "c": 0.15769,
    "h": 283.4
  },
  "luminance": 0.04214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39278C

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

Preview Lab → · Contrast checker → · Palette generator →

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