#39276E#39276E

#39276E is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.7% C 0.117 H 290.4°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#39276E
RGBrgb(57, 39, 110)
HSLhsl(255, 48%, 29%)
HSVhsv(255, 65%, 43%)
CMYKcmyk(48.2%, 64.5%, 0%, 56.9%)
CIE-LABlab(21.75, 27.42, -38.52)
CIE-LCHlch(21.75, 47.29, 305.44°)
OKLaboklab(33.71% 0.0408 -0.1101)
OKLCHoklch(33.71% 0.117 290.4)
XYZxyz(5.2265, 3.4465, 15.1387)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39276E #5C6E27
analogous
#27396E #39276E #5D276E
triadic
#39276E #6E3927 #276E39
tetradic
#39276E #6E2739 #5C6E27 #276E5D
square
#39276E #6E2739 #5C6E27 #276E5D
split-complementary
#39276E #6E5D27 #396E27
monochromatic
#0C0817 #221741 #39276E #50379B #6C4FC1

Accessibility & contrast

On white

12.43
#39276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39276E
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39276E#FFFFFF#000000##FFFFFF
##39276E1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#293746
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #39276e;
/* rgb */ color: rgb(57, 39, 110);
/* oklch */ color: oklch(33.7% 0.117 290.4);
Tailwind
colors: {
  custom: {
    50: '#746298',
    500: '#39276e',
    950: '#000000',
  },
}
SCSS
$custom: #39276e;
$custom-light: #746298;
$custom-dark: #000000;
JSON
{
  "hex": "#39276e",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 255.211,
    "s": 47.651,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33706,
    "c": 0.11741,
    "h": 290.4
  },
  "luminance": 0.03447
}

Semantic roles & 50–950 ramp

primary
#39276E
secondary
#8CA150
accent
#D751B5
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #39276E

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

Preview Lab → · Contrast checker → · Palette generator →

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