#372773#372773

#372773 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 33.9% C 0.124 H 287.5°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#372773
RGBrgb(55, 39, 115)
HSLhsl(253, 49%, 30%)
HSVhsv(253, 66%, 45%)
CMYKcmyk(52.2%, 66.1%, 0%, 54.9%)
CIE-LABlab(21.95, 28.59, -41.43)
CIE-LCHlch(21.95, 50.34, 304.60°)
OKLaboklab(33.93% 0.0375 -0.1187)
OKLCHoklch(33.93% 0.124 287.5)
XYZxyz(5.3947, 3.5008, 16.6078)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372773 #637327
analogous
#273D73 #372773 #5D2773
triadic
#372773 #733727 #277337
tetradic
#372773 #73273D #637327 #27735D
square
#372773 #73273D #637327 #27735D
split-complementary
#372773 #735D27 #3D7327
monochromatic
#0B0818 #211845 #372773 #4D36A1 #6951C4

Accessibility & contrast

On white

12.35
#372773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#372773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372773
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372773#FFFFFF#000000##FFFFFF
##3727731.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#223949
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #372773;
/* rgb */ color: rgb(55, 39, 115);
/* oklch */ color: oklch(33.9% 0.124 287.5);
Tailwind
colors: {
  custom: {
    50: '#74629c',
    500: '#372773',
    950: '#000000',
  },
}
SCSS
$custom: #372773;
$custom-light: #74629c;
$custom-dark: #000000;
JSON
{
  "hex": "#372773",
  "rgb": {
    "r": 55,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 252.632,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33927,
    "c": 0.12447,
    "h": 287.5
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#372773
secondary
#93A550
accent
#D94FBC
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #372773

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

Preview Lab → · Contrast checker → · Palette generator →

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