#39247A#39247A

#39247A is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.138 H 288.1°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#39247A
RGBrgb(57, 36, 122)
HSLhsl(255, 54%, 31%)
HSVhsv(255, 70%, 48%)
CMYKcmyk(53.3%, 70.5%, 0%, 52.2%)
CIE-LABlab(22.08, 33.07, -45.69)
CIE-LCHlch(22.08, 56.40, 305.90°)
OKLaboklab(34.26% 0.0428 -0.1311)
OKLCHoklch(34.26% 0.138 288.1)
XYZxyz(5.8300, 3.5365, 18.7840)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39247A #657A24
analogous
#243A7A #39247A #64247A
triadic
#39247A #7A3924 #247A39
tetradic
#39247A #7A243A #657A24 #247A64
square
#39247A #7A243A #657A24 #247A64
split-complementary
#39247A #7A6424 #3A7A24
monochromatic
#0D081B #23164B #39247A #4F32A9 #6C4ECB

Accessibility & contrast

On white

12.30
#39247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#39247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39247A
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39247A#FFFFFF#000000##FFFFFF
##39247A1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#213A4C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #39247a;
/* rgb */ color: rgb(57, 36, 122);
/* oklch */ color: oklch(34.3% 0.138 288.1);
Tailwind
colors: {
  custom: {
    50: '#7660a1',
    500: '#39247a',
    950: '#000000',
  },
}
SCSS
$custom: #39247a;
$custom-light: #7660a1;
$custom-dark: #000000;
JSON
{
  "hex": "#39247a",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 254.651,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34258,
    "c": 0.13794,
    "h": 288.1
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#39247A
secondary
#95AC4D
accent
#DE4ABA
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39247A

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

Preview Lab → · Contrast checker → · Palette generator →

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