#39229D#39229D

#39229D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.184 H 281.3°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#39229D
RGBrgb(57, 34, 157)
HSLhsl(251, 64%, 37%)
HSVhsv(251, 78%, 62%)
CMYKcmyk(63.7%, 78.3%, 0%, 38.4%)
CIE-LABlab(25.10, 45.06, -62.54)
CIE-LCHlch(25.10, 77.08, 305.77°)
OKLaboklab(37.44% 0.0362 -0.1804)
OKLCHoklch(37.44% 0.184 281.3)
XYZxyz(8.3433, 4.4476, 32.3106)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39229D #869D22
analogous
#22489D #39229D #77229D
triadic
#39229D #9D3922 #229D39
tetradic
#39229D #9D2248 #869D22 #229D77
square
#39229D #9D2248 #869D22 #229D77
split-complementary
#39229D #9D7722 #489D22
monochromatic
#140C38 #27176B #39229D #4B2DCF #755DDC

Accessibility & contrast

On white

11.11
#39229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#39229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39229D
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39229D#FFFFFF#000000##FFFFFF
##39229D1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #39229d;
/* rgb */ color: rgb(57, 34, 157);
/* oklch */ color: oklch(37.4% 0.184 281.3);
Tailwind
colors: {
  custom: {
    50: '#7d61bb',
    500: '#39229d',
    950: '#000000',
  },
}
SCSS
$custom: #39229d;
$custom-light: #7d61bb;
$custom-dark: #000000;
JSON
{
  "hex": "#39229d",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 251.22,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37436,
    "c": 0.18404,
    "h": 281.3
  },
  "luminance": 0.04448
}

Semantic roles & 50–950 ramp

primary
#39229D
secondary
#ADC15A
accent
#E740C8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #39229D

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

Preview Lab → · Contrast checker → · Palette generator →

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