#39246A#39246A

#39246A is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.9% C 0.116 H 292.7°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#39246A
RGBrgb(57, 36, 106)
HSLhsl(258, 49%, 28%)
HSVhsv(258, 66%, 42%)
CMYKcmyk(46.2%, 66%, 0%, 58.4%)
CIE-LABlab(20.72, 28.05, -37.60)
CIE-LCHlch(20.72, 46.91, 306.73°)
OKLaboklab(32.86% 0.0448 -0.1074)
OKLCHoklch(32.86% 0.116 292.7)
XYZxyz(4.9190, 3.1721, 13.9860)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39246A #556A24
analogous
#24326A #39246A #5C246A
triadic
#39246A #6A3924 #246A39
tetradic
#39246A #6A2432 #556A24 #246A5C
square
#39246A #6A2432 #556A24 #246A5C
split-complementary
#39246A #6A5C24 #326A24
monochromatic
#0C0817 #20143C #39246A #523498 #6C48C1

Accessibility & contrast

On white

12.85
#39246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#39246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39246A
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39246A#FFFFFF#000000##FFFFFF
##39246A1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#2B3443
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #39246a;
/* rgb */ color: rgb(57, 36, 106);
/* oklch */ color: oklch(32.9% 0.116 292.7);
Tailwind
colors: {
  custom: {
    50: '#746095',
    500: '#39246a',
    950: '#000000',
  },
}
SCSS
$custom: #39246a;
$custom-light: #746095;
$custom-dark: #000000;
JSON
{
  "hex": "#39246a",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 258,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32855,
    "c": 0.11634,
    "h": 292.7
  },
  "luminance": 0.03172
}

Semantic roles & 50–950 ramp

primary
#39246A
secondary
#859D4D
accent
#D94FAF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #39246A

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

Preview Lab → · Contrast checker → · Palette generator →

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