#39247F#39247F

#39247F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.7% C 0.144 H 286.8°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#39247F
RGBrgb(57, 36, 127)
HSLhsl(254, 56%, 32%)
HSVhsv(254, 72%, 50%)
CMYKcmyk(55.1%, 71.7%, 0%, 50.2%)
CIE-LABlab(22.53, 34.64, -48.13)
CIE-LCHlch(22.53, 59.30, 305.75°)
OKLaboklab(34.72% 0.0419 -0.1383)
OKLCHoklch(34.72% 0.144 286.8)
XYZxyz(6.1478, 3.6636, 20.4578)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39247F #6A7F24
analogous
#243D7F #39247F #67247F
triadic
#39247F #7F3924 #247F39
tetradic
#39247F #7F243D #6A7F24 #247F67
square
#39247F #7F243D #6A7F24 #247F67
split-complementary
#39247F #7F6724 #3D7F24
monochromatic
#0E0920 #24164F #39247F #4E32AF #6D50CD

Accessibility & contrast

On white

12.12
#39247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39247F
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39247F#FFFFFF#000000##FFFFFF
##39247F1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#1D3C4E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #39247f;
/* rgb */ color: rgb(57, 36, 127);
/* oklch */ color: oklch(34.7% 0.144 286.8);
Tailwind
colors: {
  custom: {
    50: '#7760a5',
    500: '#39247f',
    950: '#000000',
  },
}
SCSS
$custom: #39247f;
$custom-light: #7760a5;
$custom-dark: #000000;
JSON
{
  "hex": "#39247f",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 253.846,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34721,
    "c": 0.14449,
    "h": 286.8
  },
  "luminance": 0.03664
}

Semantic roles & 50–950 ramp

primary
#39247F
secondary
#9AB14E
accent
#DF49BC
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39247F

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

Preview Lab → · Contrast checker → · Palette generator →

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