#372083#372083

#372083 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.155 H 285.6°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#372083
RGBrgb(55, 32, 131)
HSLhsl(254, 61%, 32%)
HSVhsv(254, 76%, 51%)
CMYKcmyk(58%, 75.6%, 0%, 48.6%)
CIE-LABlab(21.89, 37.84, -51.71)
CIE-LCHlch(21.89, 64.08, 306.20°)
OKLaboklab(34.33% 0.0415 -0.1488)
OKLCHoklch(34.33% 0.155 285.6)
XYZxyz(6.1876, 3.4836, 21.8147)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372083 #6C8320
analogous
#203B83 #372083 #682083
triadic
#372083 #833720 #208337
tetradic
#372083 #83203B #6C8320 #208368
square
#372083 #83203B #6C8320 #208368
split-complementary
#372083 #836820 #3B8320
monochromatic
#0E0821 #221452 #372083 #4C2CB4 #6A4AD3

Accessibility & contrast

On white

12.38
#372083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#372083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372083
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372083#FFFFFF#000000##FFFFFF
##3720831.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003181
Tritanopia (blue-blind)
#133B4F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #372083;
/* rgb */ color: rgb(55, 32, 131);
/* oklch */ color: oklch(34.3% 0.155 285.6);
Tailwind
colors: {
  custom: {
    50: '#775ea8',
    500: '#372083',
    950: '#000000',
  },
}
SCSS
$custom: #372083;
$custom-light: #775ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#372083",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 253.939,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34331,
    "c": 0.15453,
    "h": 285.6
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#372083
secondary
#9CB649
accent
#E444BF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #372083

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

Preview Lab → · Contrast checker → · Palette generator →

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