#37229F#37229F

#37229F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.187 H 280.1°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#37229F
RGBrgb(55, 34, 159)
HSLhsl(250, 65%, 38%)
HSVhsv(250, 79%, 62%)
CMYKcmyk(65.4%, 78.6%, 0%, 37.6%)
CIE-LABlab(25.13, 45.45, -63.71)
CIE-LCHlch(25.13, 78.26, 305.50°)
OKLaboklab(37.48% 0.0327 -0.1839)
OKLCHoklch(37.48% 0.187 280.1)
XYZxyz(8.4036, 4.4588, 33.2120)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37229F #8A9F22
analogous
#224B9F #37229F #75229F
triadic
#37229F #9F3722 #229F37
tetradic
#37229F #9F224B #8A9F22 #229F75
square
#37229F #9F224B #8A9F22 #229F75
split-complementary
#37229F #9F7522 #4B9F22
monochromatic
#140C3A #26176D #37229F #482DD1 #745FDD

Accessibility & contrast

On white

11.10
#37229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#37229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37229F
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37229F#FFFFFF#000000##FFFFFF
##37229F1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #37229f;
/* rgb */ color: rgb(55, 34, 159);
/* oklch */ color: oklch(37.5% 0.187 280.1);
Tailwind
colors: {
  custom: {
    50: '#7c61bd',
    500: '#37229f',
    950: '#000000',
  },
}
SCSS
$custom: #37229f;
$custom-light: #7c61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#37229f",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 250.08,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37479,
    "c": 0.18679,
    "h": 280.1
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#37229F
secondary
#B0C15B
accent
#E840CC
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #37229F

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

Preview Lab → · Contrast checker → · Palette generator →

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