#372283#372283

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

Color values

HEX#372283
RGBrgb(55, 34, 131)
HSLhsl(253, 59%, 32%)
HSVhsv(253, 74%, 51%)
CMYKcmyk(58%, 74%, 0%, 48.6%)
CIE-LABlab(22.28, 36.73, -51.06)
CIE-LCHlch(22.28, 62.89, 305.73°)
OKLaboklab(34.61% 0.0398 -0.1469)
OKLCHoklch(34.61% 0.152 285.2)
XYZxyz(6.2431, 3.5946, 21.8332)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372283 #6E8322
analogous
#223D83 #372283 #682283
triadic
#372283 #833722 #228337
tetradic
#372283 #83223D #6E8322 #228368
square
#372283 #83223D #6E8322 #228368
split-complementary
#372283 #836822 #3D8322
monochromatic
#0E0922 #231552 #372283 #4B2FB4 #6B4ED1

Accessibility & contrast

On white

12.22
#372283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#372283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372283
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372283#FFFFFF#000000##FFFFFF
##3722831.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #372283;
/* rgb */ color: rgb(55, 34, 131);
/* oklch */ color: oklch(34.6% 0.152 285.2);
Tailwind
colors: {
  custom: {
    50: '#775fa8',
    500: '#372283',
    950: '#000000',
  },
}
SCSS
$custom: #372283;
$custom-light: #775fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#372283",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 252.99,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34613,
    "c": 0.15224,
    "h": 285.2
  },
  "luminance": 0.03595
}

Semantic roles & 50–950 ramp

primary
#372283
secondary
#9EB44C
accent
#E246C0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #372283

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

Preview Lab → · Contrast checker → · Palette generator →

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