#39228F#39228F

#39228F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.167 H 283.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#39228F
RGBrgb(57, 34, 143)
HSLhsl(253, 62%, 35%)
HSVhsv(253, 76%, 56%)
CMYKcmyk(60.1%, 76.2%, 0%, 43.9%)
CIE-LABlab(23.66, 40.77, -56.29)
CIE-LCHlch(23.66, 69.50, 305.91°)
OKLaboklab(35.99% 0.04 -0.1622)
OKLCHoklch(35.99% 0.167 283.8)
XYZxyz(7.2158, 3.9966, 26.3725)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39228F #788F22
analogous
#22418F #39228F #70228F
triadic
#39228F #8F3922 #228F39
tetradic
#39228F #8F2241 #788F22 #228F70
square
#39228F #8F2241 #788F22 #228F70
split-complementary
#39228F #8F7022 #418F22
monochromatic
#120A2C #25165E #39228F #4D2EC0 #7055D7

Accessibility & contrast

On white

11.67
#39228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#39228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39228F
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39228F#FFFFFF#000000##FFFFFF
##39228F1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#034157
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #39228f;
/* rgb */ color: rgb(57, 34, 143);
/* oklch */ color: oklch(36.0% 0.167 283.8);
Tailwind
colors: {
  custom: {
    50: '#7a60b1',
    500: '#39228f',
    950: '#000000',
  },
}
SCSS
$custom: #39228f;
$custom-light: #7a60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#39228f",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 252.661,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35994,
    "c": 0.16704,
    "h": 283.8
  },
  "luminance": 0.03997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39228F

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

Preview Lab → · Contrast checker → · Palette generator →

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