#462072#462072

#462072 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.134 H 300.7°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#462072
RGBrgb(70, 32, 114)
HSLhsl(268, 56%, 29%)
HSVhsv(268, 72%, 45%)
CMYKcmyk(38.6%, 71.9%, 0%, 55.3%)
CIE-LABlab(22.12, 35.63, -40.42)
CIE-LCHlch(22.12, 53.88, 311.39°)
OKLaboklab(34.44% 0.0685 -0.1152)
OKLCHoklch(34.44% 0.134 300.7)
XYZxyz(6.0788, 3.5500, 16.2813)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462072 #4C7220
analogous
#202372 #462072 #6F2072
triadic
#462072 #724620 #207246
tetradic
#462072 #722023 #4C7220 #20726F
square
#462072 #722023 #4C7220 #20726F
split-complementary
#462072 #726F20 #237220
monochromatic
#0F0718 #291342 #462072 #632DA2 #8142CA

Accessibility & contrast

On white

12.28
#462072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#462072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462072
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462072#FFFFFF#000000##FFFFFF
##4620721.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#3C3346
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #462072;
/* rgb */ color: rgb(70, 32, 114);
/* oklch */ color: oklch(34.4% 0.134 300.7);
Tailwind
colors: {
  custom: {
    50: '#7e5f9b',
    500: '#462072',
    950: '#000000',
  },
}
SCSS
$custom: #462072;
$custom-light: #7e5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#462072",
  "rgb": {
    "r": 70,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 267.805,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34436,
    "c": 0.13398,
    "h": 300.7
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#462072
secondary
#7AA648
accent
#DF4899
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462072

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

Preview Lab → · Contrast checker → · Palette generator →

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