#372163#372163

#372163 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.5% C 0.111 H 294.5°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#372163
RGBrgb(55, 33, 99)
HSLhsl(260, 50%, 26%)
HSVhsv(260, 67%, 39%)
CMYKcmyk(44.4%, 66.7%, 0%, 61.2%)
CIE-LABlab(19.23, 27.29, -35.45)
CIE-LCHlch(19.23, 44.74, 307.59°)
OKLaboklab(31.54% 0.0461 -0.1011)
OKLCHoklch(31.54% 0.111 294.5)
XYZxyz(4.3709, 2.8007, 12.1123)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372163 #4D6321
analogous
#212C63 #372163 #582163
triadic
#372163 #633721 #216337
tetradic
#372163 #63212C #4D6321 #216358
square
#372163 #63212C #4D6321 #216358
split-complementary
#372163 #635821 #2C6321
monochromatic
#0D0817 #1D1235 #372163 #503091 #6A40BF

Accessibility & contrast

On white

13.46
#372163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#372163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372163
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372163#FFFFFF#000000##FFFFFF
##3721631.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F65
Deuteranopia (green-blind)
#002E62
Tritanopia (blue-blind)
#2B303E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #372163;
/* rgb */ color: rgb(55, 33, 99);
/* oklch */ color: oklch(31.5% 0.111 294.5);
Tailwind
colors: {
  custom: {
    50: '#725d90',
    500: '#372163',
    950: '#000000',
  },
}
SCSS
$custom: #372163;
$custom-light: #725d90;
$custom-dark: #000000;
JSON
{
  "hex": "#372163",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 99
  },
  "hsl": {
    "h": 260,
    "s": 50,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31539,
    "c": 0.11112,
    "h": 294.5
  },
  "luminance": 0.02801
}

Semantic roles & 50–950 ramp

primary
#372163
secondary
#7D9749
accent
#DA4EAB
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #372163

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

Preview Lab → · Contrast checker → · Palette generator →

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