#39226C#39226C

#39226C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.7% C 0.122 H 292.7°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#39226C
RGBrgb(57, 34, 108)
HSLhsl(259, 52%, 28%)
HSVhsv(259, 69%, 42%)
CMYKcmyk(47.2%, 68.5%, 0%, 57.6%)
CIE-LABlab(20.43, 29.90, -39.38)
CIE-LCHlch(20.43, 49.45, 307.21°)
OKLaboklab(32.69% 0.047 -0.1126)
OKLCHoklch(32.69% 0.122 292.7)
XYZxyz(4.9654, 3.0965, 14.5205)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39226C #556C22
analogous
#22306C #39226C #5E226C
triadic
#39226C #6C3922 #226C39
tetradic
#39226C #6C2230 #556C22 #226C5E
square
#39226C #6C2230 #556C22 #226C5E
split-complementary
#39226C #6C5E22 #306C22
monochromatic
#0C0717 #20133D #39226C #52319B #6C44C4

Accessibility & contrast

On white

12.97
#39226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#39226C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39226C
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39226C#FFFFFF#000000##FFFFFF
##39226C1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#2A3443
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #39226c;
/* rgb */ color: rgb(57, 34, 108);
/* oklch */ color: oklch(32.7% 0.122 292.7);
Tailwind
colors: {
  custom: {
    50: '#745e97',
    500: '#39226c',
    950: '#000000',
  },
}
SCSS
$custom: #39226c;
$custom-light: #745e97;
$custom-dark: #000000;
JSON
{
  "hex": "#39226c",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 258.649,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32694,
    "c": 0.12201,
    "h": 292.7
  },
  "luminance": 0.03097
}

Semantic roles & 50–950 ramp

primary
#39226C
secondary
#85A04A
accent
#DC4CAF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #39226C

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

Preview Lab → · Contrast checker → · Palette generator →

#39226C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva