#37226F#37226F

#37226F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.7% C 0.126 H 290.2°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#37226F
RGBrgb(55, 34, 111)
HSLhsl(256, 53%, 28%)
HSVhsv(256, 69%, 44%)
CMYKcmyk(50.5%, 69.4%, 0%, 56.5%)
CIE-LABlab(20.45, 30.41, -41.28)
CIE-LCHlch(20.45, 51.28, 306.38°)
OKLaboklab(32.74% 0.0435 -0.1183)
OKLCHoklch(32.74% 0.126 290.2)
XYZxyz(5.0160, 3.1038, 15.3706)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37226F #5A6F22
analogous
#22336F #37226F #5D226F
triadic
#37226F #6F3722 #226F37
tetradic
#37226F #6F2233 #5A6F22 #226F5D
square
#37226F #6F2233 #5A6F22 #226F5D
split-complementary
#37226F #6F5D22 #336F22
monochromatic
#0C0717 #201440 #37226F #4E309E #6845C6

Accessibility & contrast

On white

12.96
#37226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#37226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37226F
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37226F#FFFFFF#000000##FFFFFF
##37226F1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#253545
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #37226f;
/* rgb */ color: rgb(55, 34, 111);
/* oklch */ color: oklch(32.7% 0.126 290.2);
Tailwind
colors: {
  custom: {
    50: '#735e99',
    500: '#37226f',
    950: '#000000',
  },
}
SCSS
$custom: #37226f;
$custom-light: #735e99;
$custom-dark: #000000;
JSON
{
  "hex": "#37226f",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 256.364,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32741,
    "c": 0.12603,
    "h": 290.2
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#37226F
secondary
#8AA24A
accent
#DD4BB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #37226F

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

Preview Lab → · Contrast checker → · Palette generator →

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