#39248A#39248A

#39248A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.159 H 284.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#39248A
RGBrgb(57, 36, 138)
HSLhsl(252, 59%, 34%)
HSVhsv(252, 74%, 54%)
CMYKcmyk(58.7%, 73.9%, 0%, 45.9%)
CIE-LABlab(23.56, 38.11, -53.34)
CIE-LCHlch(23.56, 65.56, 305.54°)
OKLaboklab(35.77% 0.0396 -0.1536)
OKLCHoklch(35.77% 0.159 284.5)
XYZxyz(6.9043, 3.9662, 24.4416)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39248A #758A24
analogous
#24428A #39248A #6C248A
triadic
#39248A #8A3924 #248A39
tetradic
#39248A #8A2442 #758A24 #248A6C
square
#39248A #8A2442 #758A24 #248A6C
split-complementary
#39248A #8A6C24 #428A24
monochromatic
#110B29 #251759 #39248A #4D31BB #6F56D3

Accessibility & contrast

On white

11.71
#39248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#39248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39248A
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39248A#FFFFFF#000000##FFFFFF
##39248A1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#0E4054
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #39248a;
/* rgb */ color: rgb(57, 36, 138);
/* oklch */ color: oklch(35.8% 0.159 284.5);
Tailwind
colors: {
  custom: {
    50: '#7961ad',
    500: '#39248a',
    950: '#000000',
  },
}
SCSS
$custom: #39248a;
$custom-light: #7961ad;
$custom-dark: #000000;
JSON
{
  "hex": "#39248a",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 252.353,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35773,
    "c": 0.15862,
    "h": 284.5
  },
  "luminance": 0.03967
}

Semantic roles & 50–950 ramp

primary
#39248A
secondary
#A2B753
accent
#E246C2
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #39248A

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

Preview Lab → · Contrast checker → · Palette generator →

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