#39248F#39248F

#39248F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.165 H 283.5°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#39248F
RGBrgb(57, 36, 143)
HSLhsl(252, 60%, 35%)
HSVhsv(252, 75%, 56%)
CMYKcmyk(60.1%, 74.8%, 0%, 43.9%)
CIE-LABlab(24.05, 39.68, -55.66)
CIE-LCHlch(24.05, 68.35, 305.49°)
OKLaboklab(36.27% 0.0385 -0.1603)
OKLCHoklch(36.27% 0.165 283.5)
XYZxyz(7.2746, 4.1143, 26.3921)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39248F #7A8F24
analogous
#24448F #39248F #6F248F
triadic
#39248F #8F3924 #248F39
tetradic
#39248F #8F2444 #7A8F24 #248F6F
square
#39248F #8F2444 #7A8F24 #248F6F
split-complementary
#39248F #8F6F24 #448F24
monochromatic
#120B2D #26185E #39248F #4C30C0 #7158D5

Accessibility & contrast

On white

11.52
#39248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#39248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39248F
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39248F#FFFFFF#000000##FFFFFF
##39248F1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#034257
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #39248f;
/* rgb */ color: rgb(57, 36, 143);
/* oklch */ color: oklch(36.3% 0.165 283.5);
Tailwind
colors: {
  custom: {
    50: '#7a61b1',
    500: '#39248f',
    950: '#000000',
  },
}
SCSS
$custom: #39248f;
$custom-light: #7a61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#39248f",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 251.776,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36266,
    "c": 0.1649,
    "h": 283.5
  },
  "luminance": 0.04115
}

Semantic roles & 50–950 ramp

primary
#39248F
secondary
#A6B955
accent
#E345C4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #39248F

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

Preview Lab → · Contrast checker → · Palette generator →

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