#372383#372383

#372383 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.151 H 284.9°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#372383
RGBrgb(55, 35, 131)
HSLhsl(253, 58%, 33%)
HSVhsv(253, 73%, 51%)
CMYKcmyk(58%, 73.3%, 0%, 48.6%)
CIE-LABlab(22.49, 36.15, -50.72)
CIE-LCHlch(22.49, 62.29, 305.48°)
OKLaboklab(34.76% 0.039 -0.146)
OKLCHoklch(34.76% 0.151 284.9)
XYZxyz(6.2721, 3.6526, 21.8429)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372383 #6F8323
analogous
#233F83 #372383 #672383
triadic
#372383 #833723 #238337
tetradic
#372383 #83233F #6F8323 #238367
square
#372383 #83233F #6F8323 #238367
split-complementary
#372383 #836723 #3F8323
monochromatic
#0E0922 #231653 #372383 #4B30B3 #6B50D0

Accessibility & contrast

On white

12.13
#372383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372383
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372383#FFFFFF#000000##FFFFFF
##3723831.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#123D50
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #372383;
/* rgb */ color: rgb(55, 35, 131);
/* oklch */ color: oklch(34.8% 0.151 284.9);
Tailwind
colors: {
  custom: {
    50: '#7760a8',
    500: '#372383',
    950: '#000000',
  },
}
SCSS
$custom: #372383;
$custom-light: #7760a8;
$custom-dark: #000000;
JSON
{
  "hex": "#372383",
  "rgb": {
    "r": 55,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 252.5,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34759,
    "c": 0.15107,
    "h": 284.9
  },
  "luminance": 0.03653
}

Semantic roles & 50–950 ramp

primary
#372383
secondary
#9FB44E
accent
#E147C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #372383

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

Preview Lab → · Contrast checker → · Palette generator →

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