#462372#462372

#462372 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.130 H 300.0°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#462372
RGBrgb(70, 35, 114)
HSLhsl(267, 53%, 29%)
HSVhsv(267, 69%, 45%)
CMYKcmyk(38.6%, 69.3%, 0%, 55.3%)
CIE-LABlab(22.72, 33.98, -39.46)
CIE-LCHlch(22.72, 52.07, 310.73°)
OKLaboklab(34.86% 0.0649 -0.1123)
OKLCHoklch(34.86% 0.13 300)
XYZxyz(6.1633, 3.7190, 16.3095)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462372 #4F7223
analogous
#232872 #462372 #6E2372
triadic
#462372 #724623 #237246
tetradic
#462372 #722328 #4F7223 #23726E
square
#462372 #722328 #4F7223 #23726E
split-complementary
#462372 #726E23 #287223
monochromatic
#0E0717 #291543 #462372 #6331A1 #8048C7

Accessibility & contrast

On white

12.04
#462372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#462372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462372
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462372#FFFFFF#000000##FFFFFF
##4623721.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#3C3547
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #462372;
/* rgb */ color: rgb(70, 35, 114);
/* oklch */ color: oklch(34.9% 0.130 300.0);
Tailwind
colors: {
  custom: {
    50: '#7d609b',
    500: '#462372',
    950: '#000000',
  },
}
SCSS
$custom: #462372;
$custom-light: #7d609b;
$custom-dark: #000000;
JSON
{
  "hex": "#462372",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 266.582,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34863,
    "c": 0.12975,
    "h": 300
  },
  "luminance": 0.03719
}

Semantic roles & 50–950 ramp

primary
#462372
secondary
#7DA54C
accent
#DC4B9C
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462372

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

Preview Lab → · Contrast checker → · Palette generator →

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