#39276A#39276A

#39276A is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.4% C 0.112 H 291.5°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#39276A
RGBrgb(57, 39, 106)
HSLhsl(256, 46%, 28%)
HSVhsv(256, 63%, 42%)
CMYKcmyk(46.2%, 63.2%, 0%, 58.4%)
CIE-LABlab(21.44, 26.15, -36.44)
CIE-LCHlch(21.44, 44.86, 305.67°)
OKLaboklab(33.38% 0.0411 -0.1039)
OKLCHoklch(33.38% 0.112 291.5)
XYZxyz(5.0137, 3.3613, 14.0175)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39276A #586A27
analogous
#27366A #39276A #5A276A
triadic
#39276A #6A3927 #276A39
tetradic
#39276A #6A2736 #586A27 #276A5A
square
#39276A #6A2736 #586A27 #276A5A
split-complementary
#39276A #6A5A27 #366A27
monochromatic
#0C0816 #21173D #39276A #513797 #6C4EBE

Accessibility & contrast

On white

12.56
#39276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#39276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39276A
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39276A#FFFFFF#000000##FFFFFF
##39276A1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#2B3644
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #39276a;
/* rgb */ color: rgb(57, 39, 106);
/* oklch */ color: oklch(33.4% 0.112 291.5);
Tailwind
colors: {
  custom: {
    50: '#746295',
    500: '#39276a',
    950: '#000000',
  },
}
SCSS
$custom: #39276a;
$custom-light: #746295;
$custom-dark: #000000;
JSON
{
  "hex": "#39276a",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 256.119,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33377,
    "c": 0.11176,
    "h": 291.5
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#39276A
secondary
#889D50
accent
#D652B2
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #39276A

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

Preview Lab → · Contrast checker → · Palette generator →

#39276A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva