#372382#372382

#372382 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.150 H 285.2°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#372382
RGBrgb(55, 35, 130)
HSLhsl(253, 58%, 32%)
HSVhsv(253, 73%, 51%)
CMYKcmyk(57.7%, 73.1%, 0%, 49%)
CIE-LABlab(22.39, 35.84, -50.25)
CIE-LCHlch(22.39, 61.72, 305.50°)
OKLaboklab(34.66% 0.0392 -0.1446)
OKLCHoklch(34.66% 0.15 285.2)
XYZxyz(6.2046, 3.6256, 21.4876)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372382 #6E8223
analogous
#233E82 #372382 #672382
triadic
#372382 #823723 #238237
tetradic
#372382 #82233E #6E8223 #238267
square
#372382 #82233E #6E8223 #238267
split-complementary
#372382 #826723 #3E8223
monochromatic
#0E0922 #231652 #372382 #4B30B2 #6B50D0

Accessibility & contrast

On white

12.17
#372382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#372382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372382
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372382#FFFFFF#000000##FFFFFF
##3723821.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#143C50
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #372382;
/* rgb */ color: rgb(55, 35, 130);
/* oklch */ color: oklch(34.7% 0.150 285.2);
Tailwind
colors: {
  custom: {
    50: '#7760a7',
    500: '#372382',
    950: '#000000',
  },
}
SCSS
$custom: #372382;
$custom-light: #7760a7;
$custom-dark: #000000;
JSON
{
  "hex": "#372382",
  "rgb": {
    "r": 55,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 252.632,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34662,
    "c": 0.14978,
    "h": 285.2
  },
  "luminance": 0.03626
}

Semantic roles & 50–950 ramp

primary
#372382
secondary
#9EB34D
accent
#E147C0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #372382

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

Preview Lab → · Contrast checker → · Palette generator →

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