#39229F#39229F

#39229F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.186 H 281.0°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#39229F
RGBrgb(57, 34, 159)
HSLhsl(251, 65%, 38%)
HSVhsv(251, 79%, 62%)
CMYKcmyk(64.2%, 78.6%, 0%, 37.6%)
CIE-LABlab(25.31, 45.67, -63.41)
CIE-LCHlch(25.31, 78.15, 305.76°)
OKLaboklab(37.65% 0.0357 -0.183)
OKLCHoklch(37.65% 0.186 281)
XYZxyz(8.5154, 4.5165, 33.2172)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39229F #889F22
analogous
#22499F #39229F #77229F
triadic
#39229F #9F3922 #229F39
tetradic
#39229F #9F2249 #889F22 #229F77
square
#39229F #9F2249 #889F22 #229F77
split-complementary
#39229F #9F7722 #499F22
monochromatic
#150C3A #27176D #39229F #4B2DD1 #765FDD

Accessibility & contrast

On white

11.03
#39229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#39229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39229F
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39229F#FFFFFF#000000##FFFFFF
##39229F1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #39229f;
/* rgb */ color: rgb(57, 34, 159);
/* oklch */ color: oklch(37.6% 0.186 281.0);
Tailwind
colors: {
  custom: {
    50: '#7d61bd',
    500: '#39229f',
    950: '#000000',
  },
}
SCSS
$custom: #39229f;
$custom-light: #7d61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#39229f",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 251.04,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37646,
    "c": 0.18643,
    "h": 281
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#39229F
secondary
#AFC15B
accent
#E840C9
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #39229F

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

Preview Lab → · Contrast checker → · Palette generator →

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