#372255#372255

#372255 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.6% C 0.090 H 300.2°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#372255
RGBrgb(55, 34, 85)
HSLhsl(265, 43%, 23%)
HSVhsv(265, 60%, 33%)
CMYKcmyk(35.3%, 60%, 0%, 66.7%)
CIE-LABlab(18.42, 22.42, -27.45)
CIE-LCHlch(18.42, 35.44, 309.24°)
OKLaboklab(30.61% 0.0451 -0.0776)
OKLCHoklch(30.61% 0.09 300.2)
XYZxyz(3.7869, 2.6121, 8.8973)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372255 #405522
analogous
#222655 #372255 #502255
triadic
#372255 #553722 #225537
tetradic
#372255 #552226 #405522 #225550
square
#372255 #552226 #405522 #225550
split-complementary
#372255 #555022 #265522
monochromatic
#0E0916 #1B1129 #372255 #533381 #7045AC

Accessibility & contrast

On white

13.79
#372255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#372255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372255
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372255#FFFFFF#000000##FFFFFF
##3722551.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2D57
Deuteranopia (green-blind)
#142D54
Tritanopia (blue-blind)
#312C37
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #372255;
/* rgb */ color: rgb(55, 34, 85);
/* oklch */ color: oklch(30.6% 0.090 300.2);
Tailwind
colors: {
  custom: {
    50: '#705e85',
    500: '#372255',
    950: '#000000',
  },
}
SCSS
$custom: #372255;
$custom-light: #705e85;
$custom-dark: #000000;
JSON
{
  "hex": "#372255",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 264.706,
    "s": 42.857,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30612,
    "c": 0.08974,
    "h": 300.2
  },
  "luminance": 0.02612
}

Semantic roles & 50–950 ramp

primary
#372255
secondary
#6F894A
accent
#D3559F
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #372255

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

Preview Lab → · Contrast checker → · Palette generator →

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