#372092#372092

#372092 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.173 H 282.5°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#372092
RGBrgb(55, 32, 146)
HSLhsl(252, 64%, 35%)
HSVhsv(252, 78%, 57%)
CMYKcmyk(62.3%, 78.1%, 0%, 42.7%)
CIE-LABlab(23.41, 42.48, -58.58)
CIE-LCHlch(23.41, 72.36, 305.95°)
OKLaboklab(35.86% 0.0375 -0.1689)
OKLCHoklch(35.86% 0.173 282.5)
XYZxyz(7.2788, 3.9201, 27.5616)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372092 #7B9220
analogous
#204292 #372092 #702092
triadic
#372092 #923720 #209237
tetradic
#372092 #922042 #7B9220 #209270
square
#372092 #922042 #7B9220 #209270
split-complementary
#372092 #927020 #429220
monochromatic
#110A2E #241560 #372092 #4A2BC4 #6E53D9

Accessibility & contrast

On white

11.77
#372092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#372092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372092
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372092#FFFFFF#000000##FFFFFF
##3720921.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372092;
/* rgb */ color: rgb(55, 32, 146);
/* oklch */ color: oklch(35.9% 0.173 282.5);
Tailwind
colors: {
  custom: {
    50: '#7a5fb3',
    500: '#372092',
    950: '#000000',
  },
}
SCSS
$custom: #372092;
$custom-light: #7a5fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#372092",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 252.105,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3586,
    "c": 0.17304,
    "h": 282.5
  },
  "luminance": 0.03921
}

Semantic roles & 50–950 ramp

primary
#372092
secondary
#A7BD51
accent
#E741C6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372092

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

Preview Lab → · Contrast checker → · Palette generator →

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