#39228E#39228E

#39228E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.166 H 284.0°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#39228E
RGBrgb(57, 34, 142)
HSLhsl(253, 61%, 35%)
HSVhsv(253, 76%, 56%)
CMYKcmyk(59.9%, 76.1%, 0%, 44.3%)
CIE-LABlab(23.56, 40.46, -55.83)
CIE-LCHlch(23.56, 68.95, 305.93°)
OKLaboklab(35.89% 0.0402 -0.1609)
OKLCHoklch(35.89% 0.166 284)
XYZxyz(7.1404, 3.9665, 25.9753)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39228E #778E22
analogous
#22418E #39228E #6F228E
triadic
#39228E #8E3922 #228E39
tetradic
#39228E #8E2241 #778E22 #228E6F
square
#39228E #8E2241 #778E22 #228E6F
split-complementary
#39228E #8E6F22 #418E22
monochromatic
#110A2B #25165D #39228E #4D2EBF #7054D6

Accessibility & contrast

On white

11.71
#39228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#39228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39228E
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39228E#FFFFFF#000000##FFFFFF
##39228E1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#064056
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #39228e;
/* rgb */ color: rgb(57, 34, 142);
/* oklch */ color: oklch(35.9% 0.166 284.0);
Tailwind
colors: {
  custom: {
    50: '#7a60b0',
    500: '#39228e',
    950: '#000000',
  },
}
SCSS
$custom: #39228e;
$custom-light: #7a60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#39228e",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 252.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35893,
    "c": 0.16582,
    "h": 284
  },
  "luminance": 0.03967
}

Semantic roles & 50–950 ramp

primary
#39228E
secondary
#A4BA52
accent
#E443C2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #39228E

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

Preview Lab → · Contrast checker → · Palette generator →

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