#37226A#37226A

#37226A is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.3% C 0.119 H 291.7°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#37226A
RGBrgb(55, 34, 106)
HSLhsl(258, 51%, 27%)
HSVhsv(258, 68%, 42%)
CMYKcmyk(48.1%, 67.9%, 0%, 58.4%)
CIE-LABlab(20.03, 28.85, -38.73)
CIE-LCHlch(20.03, 48.29, 306.68°)
OKLaboklab(32.3% 0.0442 -0.1108)
OKLCHoklch(32.3% 0.119 291.7)
XYZxyz(4.7484, 2.9967, 13.9611)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37226A #556A22
analogous
#22316A #37226A #5B226A
triadic
#37226A #6A3722 #226A37
tetradic
#37226A #6A2231 #556A22 #226A5B
square
#37226A #6A2231 #556A22 #226A5B
split-complementary
#37226A #6A5B22 #316A22
monochromatic
#0C0717 #1F133C #37226A #4F3198 #6944C3

Accessibility & contrast

On white

13.13
#37226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#37226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37226A
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37226A#FFFFFF#000000##FFFFFF
##37226A1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#283342
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #37226a;
/* rgb */ color: rgb(55, 34, 106);
/* oklch */ color: oklch(32.3% 0.119 291.7);
Tailwind
colors: {
  custom: {
    50: '#735e95',
    500: '#37226a',
    950: '#000000',
  },
}
SCSS
$custom: #37226a;
$custom-light: #735e95;
$custom-dark: #000000;
JSON
{
  "hex": "#37226a",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 257.5,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32302,
    "c": 0.11925,
    "h": 291.7
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#37226A
secondary
#859E4A
accent
#DB4DB1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #37226A

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

Preview Lab → · Contrast checker → · Palette generator →

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