#39248C#39248C

#39248C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.161 H 284.1°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#39248C
RGBrgb(57, 36, 140)
HSLhsl(252, 59%, 35%)
HSVhsv(252, 74%, 55%)
CMYKcmyk(59.3%, 74.3%, 0%, 45.1%)
CIE-LABlab(23.75, 38.74, -54.27)
CIE-LCHlch(23.75, 66.68, 305.52°)
OKLaboklab(35.97% 0.0392 -0.1563)
OKLCHoklch(35.97% 0.161 284.1)
XYZxyz(7.0504, 4.0246, 25.2112)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39248C #778C24
analogous
#24438C #39248C #6D248C
triadic
#39248C #8C3924 #248C39
tetradic
#39248C #8C2443 #778C24 #248C6D
square
#39248C #8C2443 #778C24 #248C6D
split-complementary
#39248C #8C6D24 #438C24
monochromatic
#110B2B #25175B #39248C #4D31BD #7057D4

Accessibility & contrast

On white

11.63
#39248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#39248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39248C
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39248C#FFFFFF#000000##FFFFFF
##39248C1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#0A4056
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #39248c;
/* rgb */ color: rgb(57, 36, 140);
/* oklch */ color: oklch(36.0% 0.161 284.1);
Tailwind
colors: {
  custom: {
    50: '#7a61af',
    500: '#39248c',
    950: '#000000',
  },
}
SCSS
$custom: #39248c;
$custom-light: #7a61af;
$custom-dark: #000000;
JSON
{
  "hex": "#39248c",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 252.115,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35969,
    "c": 0.16114,
    "h": 284.1
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#39248C
secondary
#A4B854
accent
#E246C3
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #39248C

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

Preview Lab → · Contrast checker → · Palette generator →

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