#372160#372160

#372160 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.3% C 0.107 H 295.7°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#372160
RGBrgb(55, 33, 96)
HSLhsl(261, 49%, 25%)
HSVhsv(261, 66%, 38%)
CMYKcmyk(42.7%, 65.6%, 0%, 62.4%)
CIE-LABlab(18.99, 26.37, -33.86)
CIE-LCHlch(18.99, 42.92, 307.92°)
OKLaboklab(31.29% 0.0463 -0.0964)
OKLCHoklch(31.29% 0.107 295.7)
XYZxyz(4.2302, 2.7444, 11.3709)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372160 #4A6021
analogous
#212B60 #372160 #562160
triadic
#372160 #603721 #216037
tetradic
#372160 #60212B #4A6021 #216056
square
#372160 #60212B #4A6021 #216056
split-complementary
#372160 #605621 #2B6021
monochromatic
#0D0817 #1D1132 #372160 #51318E #6B40BB

Accessibility & contrast

On white

13.56
#372160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#372160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372160
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372160#FFFFFF#000000##FFFFFF
##3721601.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#022D5F
Tritanopia (blue-blind)
#2D2F3D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #372160;
/* rgb */ color: rgb(55, 33, 96);
/* oklch */ color: oklch(31.3% 0.107 295.7);
Tailwind
colors: {
  custom: {
    50: '#715d8e',
    500: '#372160',
    950: '#000000',
  },
}
SCSS
$custom: #372160;
$custom-light: #715d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#372160",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 260.952,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31291,
    "c": 0.10697,
    "h": 295.7
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#372160
secondary
#7A9449
accent
#D84FA9
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #372160

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

Preview Lab → · Contrast checker → · Palette generator →

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