#372183#372183

#372183 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.153 H 285.4°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#372183
RGBrgb(55, 33, 131)
HSLhsl(253, 60%, 32%)
HSVhsv(253, 75%, 51%)
CMYKcmyk(58%, 74.8%, 0%, 48.6%)
CIE-LABlab(22.08, 37.29, -51.39)
CIE-LCHlch(22.08, 63.49, 305.97°)
OKLaboklab(34.47% 0.0407 -0.1479)
OKLCHoklch(34.47% 0.153 285.4)
XYZxyz(6.2149, 3.5383, 21.8238)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372183 #6D8321
analogous
#213C83 #372183 #682183
triadic
#372183 #833721 #218337
tetradic
#372183 #83213C #6D8321 #218368
square
#372183 #83213C #6D8321 #218368
split-complementary
#372183 #836821 #3C8321
monochromatic
#0E0821 #221552 #372183 #4C2DB4 #6A4CD2

Accessibility & contrast

On white

12.30
#372183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#372183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372183
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372183#FFFFFF#000000##FFFFFF
##3721831.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#123C50
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #372183;
/* rgb */ color: rgb(55, 33, 131);
/* oklch */ color: oklch(34.5% 0.153 285.4);
Tailwind
colors: {
  custom: {
    50: '#775fa8',
    500: '#372183',
    950: '#000000',
  },
}
SCSS
$custom: #372183;
$custom-light: #775fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#372183",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 253.469,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34471,
    "c": 0.15339,
    "h": 285.4
  },
  "luminance": 0.03539
}

Semantic roles & 50–950 ramp

primary
#372183
secondary
#9DB54B
accent
#E345BF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #372183

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

Preview Lab → · Contrast checker → · Palette generator →

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