#372294#372294

#372294 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.173 H 281.9°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#372294
RGBrgb(55, 34, 148)
HSLhsl(251, 63%, 36%)
HSVhsv(251, 77%, 58%)
CMYKcmyk(62.8%, 77%, 0%, 42%)
CIE-LABlab(23.98, 42.05, -58.87)
CIE-LCHlch(23.98, 72.34, 305.54°)
OKLaboklab(36.33% 0.0357 -0.1698)
OKLCHoklch(36.33% 0.173 281.9)
XYZxyz(7.4912, 4.0939, 28.4067)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372294 #7F9422
analogous
#224694 #372294 #702294
triadic
#372294 #943722 #229437
tetradic
#372294 #942246 #7F9422 #229470
square
#372294 #942246 #7F9422 #229470
split-complementary
#372294 #947022 #469422
monochromatic
#120B30 #251762 #372294 #492DC6 #7058D9

Accessibility & contrast

On white

11.55
#372294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#372294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372294
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372294#FFFFFF#000000##FFFFFF
##3722941.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372294;
/* rgb */ color: rgb(55, 34, 148);
/* oklch */ color: oklch(36.3% 0.173 281.9);
Tailwind
colors: {
  custom: {
    50: '#7a60b5',
    500: '#372294',
    950: '#000000',
  },
}
SCSS
$custom: #372294;
$custom-light: #7a60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#372294",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 251.053,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36325,
    "c": 0.17348,
    "h": 281.9
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

primary
#372294
secondary
#AABD55
accent
#E642C8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372294

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

Preview Lab → · Contrast checker → · Palette generator →

#372294 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva