#39276C#39276C

#39276C is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.5% C 0.115 H 290.9°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#39276C
RGBrgb(57, 39, 108)
HSLhsl(256, 47%, 29%)
HSVhsv(256, 64%, 42%)
CMYKcmyk(47.2%, 63.9%, 0%, 57.6%)
CIE-LABlab(21.59, 26.79, -37.49)
CIE-LCHlch(21.59, 46.07, 305.55°)
OKLaboklab(33.54% 0.041 -0.107)
OKLCHoklch(33.54% 0.115 290.9)
XYZxyz(5.1189, 3.4034, 14.5717)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39276C #5A6C27
analogous
#27386C #39276C #5C276C
triadic
#39276C #6C3927 #276C39
tetradic
#39276C #6C2738 #5A6C27 #276C5C
square
#39276C #6C2738 #5A6C27 #276C5C
split-complementary
#39276C #6C5C27 #386C27
monochromatic
#0C0816 #21173F #39276C #513799 #6C4EBF

Accessibility & contrast

On white

12.49
#39276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#39276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39276C
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39276C#FFFFFF#000000##FFFFFF
##39276C1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356E
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#2A3745
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #39276c;
/* rgb */ color: rgb(57, 39, 108);
/* oklch */ color: oklch(33.5% 0.115 290.9);
Tailwind
colors: {
  custom: {
    50: '#746297',
    500: '#39276c',
    950: '#000000',
  },
}
SCSS
$custom: #39276c;
$custom-light: #746297;
$custom-dark: #000000;
JSON
{
  "hex": "#39276c",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 255.652,
    "s": 46.939,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33541,
    "c": 0.1146,
    "h": 290.9
  },
  "luminance": 0.03404
}

Semantic roles & 50–950 ramp

primary
#39276C
secondary
#8A9F50
accent
#D751B4
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #39276C

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

Preview Lab → · Contrast checker → · Palette generator →

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