#39148F#39148F

#39148F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.180 H 285.8°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#39148F
RGBrgb(57, 20, 143)
HSLhsl(258, 75%, 32%)
HSVhsv(258, 86%, 56%)
CMYKcmyk(60.1%, 86%, 0%, 43.9%)
CIE-LABlab(21.41, 47.29, -60.01)
CIE-LCHlch(21.41, 76.40, 308.24°)
OKLaboklab(34.43% 0.0489 -0.1729)
OKLCHoklch(34.43% 0.18 285.8)
XYZxyz(6.8939, 3.3529, 26.2652)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39148F #6A8F14
analogous
#142C8F #39148F #77148F
triadic
#39148F #8F3914 #148F39
tetradic
#39148F #8F142C #6A8F14 #148F77
square
#39148F #8F142C #6A8F14 #148F77
split-complementary
#39148F #8F7714 #2C8F14
monochromatic
#0E0524 #240C59 #39148F #4E1CC5 #6D3AE3

Accessibility & contrast

On white

12.57
#39148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#39148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39148F
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39148F#FFFFFF#000000##FFFFFF
##39148F1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#063B54
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #39148f;
/* rgb */ color: rgb(57, 20, 143);
/* oklch */ color: oklch(34.4% 0.180 285.8);
Tailwind
colors: {
  custom: {
    50: '#7b59b1',
    500: '#39148f',
    950: '#000000',
  },
}
SCSS
$custom: #39148f;
$custom-light: #7b59b1;
$custom-dark: #000000;
JSON
{
  "hex": "#39148f",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 258.049,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34427,
    "c": 0.17966,
    "h": 285.8
  },
  "luminance": 0.03353
}

Semantic roles & 50–950 ramp

primary
#39148F
secondary
#9AC33C
accent
#F236B9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #39148F

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

Preview Lab → · Contrast checker → · Palette generator →

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