#39276D#39276D

#39276D is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.6% C 0.116 H 290.6°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#39276D
RGBrgb(57, 39, 109)
HSLhsl(255, 47%, 29%)
HSVhsv(255, 64%, 43%)
CMYKcmyk(47.7%, 64.2%, 0%, 57.3%)
CIE-LABlab(21.67, 27.10, -38.01)
CIE-LCHlch(21.67, 46.68, 305.49°)
OKLaboklab(33.62% 0.0409 -0.1086)
OKLCHoklch(33.62% 0.116 290.6)
XYZxyz(5.1724, 3.4248, 14.8536)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39276D #5B6D27
analogous
#27386D #39276D #5C276D
triadic
#39276D #6D3927 #276D39
tetradic
#39276D #6D2738 #5B6D27 #276D5C
square
#39276D #6D2738 #5B6D27 #276D5C
split-complementary
#39276D #6D5C27 #386D27
monochromatic
#0C0817 #211740 #39276D #51379A #6C4FC0

Accessibility & contrast

On white

12.46
#39276D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#39276D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39276D
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39276D#FFFFFF#000000##FFFFFF
##39276D1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#293746
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #39276d;
/* rgb */ color: rgb(57, 39, 109);
/* oklch */ color: oklch(33.6% 0.116 290.6);
Tailwind
colors: {
  custom: {
    50: '#746297',
    500: '#39276d',
    950: '#000000',
  },
}
SCSS
$custom: #39276d;
$custom-light: #746297;
$custom-dark: #000000;
JSON
{
  "hex": "#39276d",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 255.429,
    "s": 47.297,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33623,
    "c": 0.11601,
    "h": 290.6
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39276D

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

Preview Lab → · Contrast checker → · Palette generator →

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