#372395#372395

#372395 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.174 H 281.5°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#372395
RGBrgb(55, 35, 149)
HSLhsl(251, 62%, 36%)
HSVhsv(251, 77%, 58%)
CMYKcmyk(63.1%, 76.5%, 0%, 41.6%)
CIE-LABlab(24.27, 41.83, -59.00)
CIE-LCHlch(24.27, 72.33, 305.33°)
OKLaboklab(36.56% 0.0347 -0.1702)
OKLCHoklch(36.56% 0.174 281.5)
XYZxyz(7.5997, 4.1837, 28.8350)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372395 #819523
analogous
#234895 #372395 #702395
triadic
#372395 #953723 #239537
tetradic
#372395 #952348 #819523 #239570
square
#372395 #952348 #819523 #239570
split-complementary
#372395 #957023 #489523
monochromatic
#120C32 #251763 #372395 #492FC7 #705AD8

Accessibility & contrast

On white

11.43
#372395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#372395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372395
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372395#FFFFFF#000000##FFFFFF
##3723951.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372395;
/* rgb */ color: rgb(55, 35, 149);
/* oklch */ color: oklch(36.6% 0.174 281.5);
Tailwind
colors: {
  custom: {
    50: '#7a61b5',
    500: '#372395',
    950: '#000000',
  },
}
SCSS
$custom: #372395;
$custom-light: #7a61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#372395",
  "rgb": {
    "r": 55,
    "g": 35,
    "b": 149
  },
  "hsl": {
    "h": 250.526,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3656,
    "c": 0.17371,
    "h": 281.5
  },
  "luminance": 0.04184
}

Semantic roles & 50–950 ramp

primary
#372395
secondary
#ABBD57
accent
#E543C9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372395

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

Preview Lab → · Contrast checker → · Palette generator →

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