#39276F#39276F

#39276F is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.8% C 0.119 H 290.1°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#39276F
RGBrgb(57, 39, 111)
HSLhsl(255, 48%, 29%)
HSVhsv(255, 65%, 44%)
CMYKcmyk(48.6%, 64.9%, 0%, 56.5%)
CIE-LABlab(21.83, 27.74, -39.04)
CIE-LCHlch(21.83, 47.89, 305.39°)
OKLaboklab(33.79% 0.0408 -0.1116)
OKLCHoklch(33.79% 0.119 290.1)
XYZxyz(5.2813, 3.4684, 15.4270)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39276F #5D6F27
analogous
#27396F #39276F #5D276F
triadic
#39276F #6F3927 #276F39
tetradic
#39276F #6F2739 #5D6F27 #276F5D
square
#39276F #6F2739 #5D6F27 #276F5D
split-complementary
#39276F #6F5D27 #396F27
monochromatic
#0C0817 #221742 #39276F #50379C #6C4FC1

Accessibility & contrast

On white

12.40
#39276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39276F
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39276F#FFFFFF#000000##FFFFFF
##39276F1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#283847
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #39276f;
/* rgb */ color: rgb(57, 39, 111);
/* oklch */ color: oklch(33.8% 0.119 290.1);
Tailwind
colors: {
  custom: {
    50: '#746299',
    500: '#39276f',
    950: '#000000',
  },
}
SCSS
$custom: #39276f;
$custom-light: #746299;
$custom-dark: #000000;
JSON
{
  "hex": "#39276f",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 255,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33789,
    "c": 0.11881,
    "h": 290.1
  },
  "luminance": 0.03469
}

Semantic roles & 50–950 ramp

primary
#39276F
secondary
#8DA250
accent
#D850B6
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #39276F

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

Preview Lab → · Contrast checker → · Palette generator →

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