#39278E#39278E

#39278E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.160 H 283.1°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#39278E
RGBrgb(57, 39, 142)
HSLhsl(250, 57%, 35%)
HSVhsv(250, 73%, 56%)
CMYKcmyk(59.9%, 72.5%, 0%, 44.3%)
CIE-LABlab(24.56, 37.67, -54.20)
CIE-LCHlch(24.56, 66.00, 304.80°)
OKLaboklab(36.6% 0.0363 -0.1561)
OKLCHoklch(36.6% 0.16 283.1)
XYZxyz(7.2938, 4.2734, 26.0264)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39278E #7C8E27
analogous
#27498E #39278E #6C278E
triadic
#39278E #8E3927 #278E39
tetradic
#39278E #8E2749 #7C8E27 #278E6C
square
#39278E #8E2749 #7C8E27 #278E6C
split-complementary
#39278E #8E6C27 #498E27
monochromatic
#120D2E #261A5E #39278E #4C34BE #715DD2

Accessibility & contrast

On white

11.32
#39278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39278E
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39278E#FFFFFF#000000##FFFFFF
##39278E1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#054357
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #39278e;
/* rgb */ color: rgb(57, 39, 142);
/* oklch */ color: oklch(36.6% 0.160 283.1);
Tailwind
colors: {
  custom: {
    50: '#7a63b0',
    500: '#39278e',
    950: '#000000',
  },
}
SCSS
$custom: #39278e;
$custom-light: #7a63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#39278e",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 250.485,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36599,
    "c": 0.16026,
    "h": 283.1
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#39278E
secondary
#A7B859
accent
#E048C6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #39278E

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

Preview Lab → · Contrast checker → · Palette generator →

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