#39247C#39247C

#39247C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.4% C 0.141 H 287.6°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#39247C
RGBrgb(57, 36, 124)
HSLhsl(254, 55%, 31%)
HSVhsv(254, 71%, 49%)
CMYKcmyk(54%, 71%, 0%, 51.4%)
CIE-LABlab(22.25, 33.70, -46.67)
CIE-LCHlch(22.25, 57.56, 305.83°)
OKLaboklab(34.44% 0.0424 -0.134)
OKLCHoklch(34.44% 0.141 287.6)
XYZxyz(5.9552, 3.5866, 19.4434)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39247C #677C24
analogous
#243B7C #39247C #65247C
triadic
#39247C #7C3924 #247C39
tetradic
#39247C #7C243B #677C24 #247C65
square
#39247C #7C243B #677C24 #247C65
split-complementary
#39247C #7C6524 #3B7C24
monochromatic
#0D081D #23164D #39247C #4F32AB #6C4FCC

Accessibility & contrast

On white

12.23
#39247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#39247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39247C
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39247C#FFFFFF#000000##FFFFFF
##39247C1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#1F3A4D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #39247c;
/* rgb */ color: rgb(57, 36, 124);
/* oklch */ color: oklch(34.4% 0.141 287.6);
Tailwind
colors: {
  custom: {
    50: '#7760a3',
    500: '#39247c',
    950: '#000000',
  },
}
SCSS
$custom: #39247c;
$custom-light: #7760a3;
$custom-dark: #000000;
JSON
{
  "hex": "#39247c",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 254.318,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34442,
    "c": 0.14056,
    "h": 287.6
  },
  "luminance": 0.03587
}

Semantic roles & 50–950 ramp

primary
#39247C
secondary
#97AE4D
accent
#DE49BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39247C

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

Preview Lab → · Contrast checker → · Palette generator →

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