#39276B#39276B

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

Color values

HEX#39276B
RGBrgb(57, 39, 107)
HSLhsl(256, 47%, 29%)
HSVhsv(256, 64%, 42%)
CMYKcmyk(46.7%, 63.6%, 0%, 58%)
CIE-LABlab(21.51, 26.47, -36.97)
CIE-LCHlch(21.51, 45.46, 305.60°)
OKLaboklab(33.46% 0.041 -0.1055)
OKLCHoklch(33.46% 0.113 291.2)
XYZxyz(5.0660, 3.3823, 14.2930)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39276B #596B27
analogous
#27376B #39276B #5B276B
triadic
#39276B #6B3927 #276B39
tetradic
#39276B #6B2737 #596B27 #276B5B
square
#39276B #6B2737 #596B27 #276B5B
split-complementary
#39276B #6B5B27 #376B27
monochromatic
#0C0816 #21173E #39276B #513798 #6C4EBE

Accessibility & contrast

On white

12.53
#39276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39276B
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39276B#FFFFFF#000000##FFFFFF
##39276B1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#2A3645
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #39276b;
/* rgb */ color: rgb(57, 39, 107);
/* oklch */ color: oklch(33.5% 0.113 291.2);
Tailwind
colors: {
  custom: {
    50: '#746296',
    500: '#39276b',
    950: '#000000',
  },
}
SCSS
$custom: #39276b;
$custom-light: #746296;
$custom-dark: #000000;
JSON
{
  "hex": "#39276b",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 255.882,
    "s": 46.575,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33459,
    "c": 0.11318,
    "h": 291.2
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#39276B
secondary
#899E50
accent
#D652B3
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #39276B

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

Preview Lab → · Contrast checker → · Palette generator →

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