#462572#462572

#462572 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.127 H 299.5°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#462572
RGBrgb(70, 37, 114)
HSLhsl(266, 51%, 30%)
HSVhsv(266, 68%, 45%)
CMYKcmyk(38.6%, 67.5%, 0%, 55.3%)
CIE-LABlab(23.14, 32.84, -38.78)
CIE-LCHlch(23.14, 50.82, 310.26°)
OKLaboklab(35.16% 0.0625 -0.1104)
OKLCHoklch(35.16% 0.127 299.5)
XYZxyz(6.2239, 3.8401, 16.3296)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462572 #517225
analogous
#252B72 #462572 #6C2572
triadic
#462572 #724625 #257246
tetradic
#462572 #72252B #517225 #25726C
square
#462572 #72252B #517225 #25726C
split-complementary
#462572 #726C25 #2B7225
monochromatic
#0E0717 #2A1644 #462572 #6234A0 #804CC5

Accessibility & contrast

On white

11.88
#462572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#462572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462572
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462572#FFFFFF#000000##FFFFFF
##4625721.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#003770
Tritanopia (blue-blind)
#3C3648
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #462572;
/* rgb */ color: rgb(70, 37, 114);
/* oklch */ color: oklch(35.2% 0.127 299.5);
Tailwind
colors: {
  custom: {
    50: '#7d629b',
    500: '#462572',
    950: '#000000',
  },
}
SCSS
$custom: #462572;
$custom-light: #7d629b;
$custom-dark: #000000;
JSON
{
  "hex": "#462572",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 114
  },
  "hsl": {
    "h": 265.714,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35162,
    "c": 0.12683,
    "h": 299.5
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#462572
secondary
#80A54E
accent
#DA4D9E
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462572

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

Preview Lab → · Contrast checker → · Palette generator →

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