#39247E#39247E

#39247E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.143 H 287.1°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#39247E
RGBrgb(57, 36, 126)
HSLhsl(254, 56%, 32%)
HSVhsv(254, 71%, 49%)
CMYKcmyk(54.8%, 71.4%, 0%, 50.6%)
CIE-LABlab(22.44, 34.33, -47.64)
CIE-LCHlch(22.44, 58.72, 305.78°)
OKLaboklab(34.63% 0.0421 -0.1369)
OKLCHoklch(34.63% 0.143 287.1)
XYZxyz(6.0830, 3.6377, 20.1162)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39247E #697E24
analogous
#243C7E #39247E #66247E
triadic
#39247E #7E3924 #247E39
tetradic
#39247E #7E243C #697E24 #247E66
square
#39247E #7E243C #697E24 #247E66
split-complementary
#39247E #7E6624 #3C7E24
monochromatic
#0E091F #23164E #39247E #4F32AE #6D50CD

Accessibility & contrast

On white

12.16
#39247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#39247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39247E
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39247E#FFFFFF#000000##FFFFFF
##39247E1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#1E3B4E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #39247e;
/* rgb */ color: rgb(57, 36, 126);
/* oklch */ color: oklch(34.6% 0.143 287.1);
Tailwind
colors: {
  custom: {
    50: '#7760a4',
    500: '#39247e',
    950: '#000000',
  },
}
SCSS
$custom: #39247e;
$custom-light: #7760a4;
$custom-dark: #000000;
JSON
{
  "hex": "#39247e",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 254,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34627,
    "c": 0.14319,
    "h": 287.1
  },
  "luminance": 0.03638
}

Semantic roles & 50–950 ramp

primary
#39247E
secondary
#99B04E
accent
#DF49BC
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39247E

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

Preview Lab → · Contrast checker → · Palette generator →

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