#39228B#39228B

#39228B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.162 H 284.6°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#39228B
RGBrgb(57, 34, 139)
HSLhsl(253, 61%, 34%)
HSVhsv(253, 76%, 55%)
CMYKcmyk(59%, 75.5%, 0%, 45.5%)
CIE-LABlab(23.26, 39.53, -54.45)
CIE-LCHlch(23.26, 67.29, 305.97°)
OKLaboklab(35.59% 0.041 -0.1568)
OKLCHoklch(35.59% 0.162 284.6)
XYZxyz(6.9181, 3.8776, 24.8050)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39228B #748B22
analogous
#22408B #39228B #6E228B
triadic
#39228B #8B3922 #228B39
tetradic
#39228B #8B2240 #748B22 #228B6E
square
#39228B #8B2240 #748B22 #228B6E
split-complementary
#39228B #8B6E22 #408B22
monochromatic
#110A29 #25165A #39228B #4D2EBC #6F53D5

Accessibility & contrast

On white

11.83
#39228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#39228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39228B
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39228B#FFFFFF#000000##FFFFFF
##39228B1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#0D3F54
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #39228b;
/* rgb */ color: rgb(57, 34, 139);
/* oklch */ color: oklch(35.6% 0.162 284.6);
Tailwind
colors: {
  custom: {
    50: '#7a60ae',
    500: '#39228b',
    950: '#000000',
  },
}
SCSS
$custom: #39228b;
$custom-light: #7a60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#39228b",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 253.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35593,
    "c": 0.1621,
    "h": 284.6
  },
  "luminance": 0.03878
}

Semantic roles & 50–950 ramp

primary
#39228B
secondary
#A2B850
accent
#E444C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #39228B

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

Preview Lab → · Contrast checker → · Palette generator →

#39228B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva