#372A75#372A75

#372A75 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 34.6% C 0.123 H 286.0°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#372A75
RGBrgb(55, 42, 117)
HSLhsl(250, 47%, 31%)
HSVhsv(250, 64%, 46%)
CMYKcmyk(53%, 64.1%, 0%, 54.1%)
CIE-LABlab(22.83, 27.32, -41.27)
CIE-LCHlch(22.83, 49.50, 303.51°)
OKLaboklab(34.63% 0.0339 -0.1182)
OKLCHoklch(34.63% 0.123 286)
XYZxyz(5.6134, 3.7522, 17.2546)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372A75 #68752A
analogous
#2A4275 #372A75 #5C2A75
triadic
#372A75 #75372A #2A7537
tetradic
#372A75 #752A42 #68752A #2A755C
square
#372A75 #752A42 #68752A #2A755C
split-complementary
#372A75 #755C2A #42752A
monochromatic
#0D0A1B #221A48 #372A75 #4C3AA2 #6957C3

Accessibility & contrast

On white

12.00
#372A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#372A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372A75
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372A75#FFFFFF#000000##FFFFFF
##372A751.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#203C4B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #372a75;
/* rgb */ color: rgb(55, 42, 117);
/* oklch */ color: oklch(34.6% 0.123 286.0);
Tailwind
colors: {
  custom: {
    50: '#74649d',
    500: '#372a75',
    950: '#000000',
  },
}
SCSS
$custom: #372a75;
$custom-light: #74649d;
$custom-dark: #000000;
JSON
{
  "hex": "#372a75",
  "rgb": {
    "r": 55,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 250.4,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34626,
    "c": 0.12299,
    "h": 286
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#372A75
secondary
#98A754
accent
#D751C0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #372A75

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

Preview Lab → · Contrast checker → · Palette generator →

#372A75 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva