#462196#462196

#462196 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.175 H 289.6°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#462196
RGBrgb(70, 33, 150)
HSLhsl(259, 64%, 36%)
HSVhsv(259, 78%, 59%)
CMYKcmyk(53.3%, 78%, 0%, 41.2%)
CIE-LABlab(25.54, 45.19, -57.48)
CIE-LCHlch(25.54, 73.12, 308.18°)
OKLaboklab(37.85% 0.059 -0.1652)
OKLCHoklch(37.85% 0.175 289.6)
XYZxyz(8.5731, 4.5914, 29.2828)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462196 #719621
analogous
#213796 #462196 #802196
triadic
#462196 #964621 #219646
tetradic
#462196 #962137 #719621 #219680
square
#462196 #962137 #719621 #219680
split-complementary
#462196 #968021 #379621
monochromatic
#170B32 #2F1664 #462196 #5D2CC8 #8157DA

Accessibility & contrast

On white

10.95
#462196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#462196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462196
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462196#FFFFFF#000000##FFFFFF
##4621961.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#28425B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462196;
/* rgb */ color: rgb(70, 33, 150);
/* oklch */ color: oklch(37.8% 0.175 289.6);
Tailwind
colors: {
  custom: {
    50: '#8361b6',
    500: '#462196',
    950: '#000000',
  },
}
SCSS
$custom: #462196;
$custom-light: #8361b6;
$custom-dark: #000000;
JSON
{
  "hex": "#462196",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 258.974,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37845,
    "c": 0.17544,
    "h": 289.6
  },
  "luminance": 0.04592
}

Semantic roles & 50–950 ramp

primary
#462196
secondary
#9DBE55
accent
#E741B2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #462196

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

Preview Lab → · Contrast checker → · Palette generator →

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