#462184#462184

#462184 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.154 H 294.4°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#462184
RGBrgb(70, 33, 132)
HSLhsl(262, 60%, 32%)
HSVhsv(262, 75%, 52%)
CMYKcmyk(47%, 75%, 0%, 48.2%)
CIE-LABlab(23.85, 40.10, -49.05)
CIE-LCHlch(23.85, 63.36, 309.27°)
OKLaboklab(36.15% 0.0638 -0.1405)
OKLCHoklch(36.15% 0.154 294.4)
XYZxyz(7.2334, 4.0555, 22.2270)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462184 #5F8421
analogous
#212E84 #462184 #772184
triadic
#462184 #844621 #218446
tetradic
#462184 #84212E #5F8421 #218477
square
#462184 #84212E #5F8421 #218477
split-complementary
#462184 #847721 #2E8421
monochromatic
#120922 #2C1553 #462184 #602DB5 #7F4DD2

Accessibility & contrast

On white

11.59
#462184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#462184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462184
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462184#FFFFFF#000000##FFFFFF
##4621841.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#343B50
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #462184;
/* rgb */ color: rgb(70, 33, 132);
/* oklch */ color: oklch(36.1% 0.154 294.4);
Tailwind
colors: {
  custom: {
    50: '#8060a9',
    500: '#462184',
    950: '#000000',
  },
}
SCSS
$custom: #462184;
$custom-light: #8060a9;
$custom-dark: #000000;
JSON
{
  "hex": "#462184",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 262.424,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36146,
    "c": 0.1543,
    "h": 294.4
  },
  "luminance": 0.04056
}

Semantic roles & 50–950 ramp

primary
#462184
secondary
#8EB64B
accent
#E345A8
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #462184

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

Preview Lab → · Contrast checker → · Palette generator →

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