#39239A#39239A

#39239A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.179 H 281.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#39239A
RGBrgb(57, 35, 154)
HSLhsl(251, 63%, 37%)
HSVhsv(251, 77%, 60%)
CMYKcmyk(63%, 77.3%, 0%, 39.6%)
CIE-LABlab(24.97, 43.63, -60.92)
CIE-LCHlch(24.97, 74.94, 305.61°)
OKLaboklab(37.25% 0.0364 -0.1757)
OKLCHoklch(37.25% 0.179 281.7)
XYZxyz(8.1193, 4.4044, 30.9879)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39239A #849A23
analogous
#23499A #39239A #74239A
triadic
#39239A #9A3923 #239A39
tetradic
#39239A #9A2349 #849A23 #239A74
square
#39239A #9A2349 #849A23 #239A74
split-complementary
#39239A #9A7423 #499A23
monochromatic
#140C36 #271868 #39239A #4B2ECC #745DDA

Accessibility & contrast

On white

11.16
#39239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#39239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39239A
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39239A#FFFFFF#000000##FFFFFF
##39239A1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #39239a;
/* rgb */ color: rgb(57, 35, 154);
/* oklch */ color: oklch(37.2% 0.179 281.7);
Tailwind
colors: {
  custom: {
    50: '#7c61b9',
    500: '#39239a',
    950: '#000000',
  },
}
SCSS
$custom: #39239a;
$custom-light: #7c61b9;
$custom-dark: #000000;
JSON
{
  "hex": "#39239a",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 251.092,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37249,
    "c": 0.17947,
    "h": 281.7
  },
  "luminance": 0.04405
}

Semantic roles & 50–950 ramp

primary
#39239A
secondary
#ACBF5A
accent
#E642C8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #39239A

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

Preview Lab → · Contrast checker → · Palette generator →

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