#372485#372485

#372485 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.152 H 284.3°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#372485
RGBrgb(55, 36, 133)
HSLhsl(252, 57%, 33%)
HSVhsv(252, 73%, 52%)
CMYKcmyk(58.6%, 72.9%, 0%, 47.8%)
CIE-LABlab(22.89, 36.21, -51.33)
CIE-LCHlch(22.89, 62.82, 305.21°)
OKLaboklab(35.1% 0.0377 -0.1477)
OKLCHoklch(35.1% 0.152 284.3)
XYZxyz(6.4388, 3.7670, 22.5736)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372485 #728524
analogous
#244185 #372485 #672485
triadic
#372485 #853724 #248537
tetradic
#372485 #852441 #728524 #248567
square
#372485 #852441 #728524 #248567
split-complementary
#372485 #856724 #418524
monochromatic
#0F0A25 #231755 #372485 #4B31B5 #6C53D0

Accessibility & contrast

On white

11.98
#372485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#372485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372485
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372485#FFFFFF#000000##FFFFFF
##3724851.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#0F3E52
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #372485;
/* rgb */ color: rgb(55, 36, 133);
/* oklch */ color: oklch(35.1% 0.152 284.3);
Tailwind
colors: {
  custom: {
    50: '#7761a9',
    500: '#372485',
    950: '#000000',
  },
}
SCSS
$custom: #372485;
$custom-light: #7761a9;
$custom-dark: #000000;
JSON
{
  "hex": "#372485",
  "rgb": {
    "r": 55,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 251.753,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35101,
    "c": 0.15247,
    "h": 284.3
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#372485
secondary
#A1B450
accent
#E147C3
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #372485

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

Preview Lab → · Contrast checker → · Palette generator →

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