#462096#462096

#462096 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.176 H 289.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#462096
RGBrgb(70, 32, 150)
HSLhsl(259, 65%, 36%)
HSVhsv(259, 79%, 59%)
CMYKcmyk(53.3%, 78.7%, 0%, 41.2%)
CIE-LABlab(25.37, 45.67, -57.75)
CIE-LCHlch(25.37, 73.63, 308.34°)
OKLaboklab(37.73% 0.0597 -0.166)
OKLCHoklch(37.73% 0.176 289.8)
XYZxyz(8.5457, 4.5367, 29.2736)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462096 #709620
analogous
#203596 #462096 #812096
triadic
#462096 #964620 #209646
tetradic
#462096 #962035 #709620 #209681
square
#462096 #962035 #709620 #209681
split-complementary
#462096 #968120 #359620
monochromatic
#170A31 #2E1564 #462096 #5E2BC8 #8056DB

Accessibility & contrast

On white

11.01
#462096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#462096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462096
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462096#FFFFFF#000000##FFFFFF
##4620961.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#28415A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462096;
/* rgb */ color: rgb(70, 32, 150);
/* oklch */ color: oklch(37.7% 0.176 289.8);
Tailwind
colors: {
  custom: {
    50: '#8360b6',
    500: '#462096',
    950: '#000000',
  },
}
SCSS
$custom: #462096;
$custom-light: #8360b6;
$custom-dark: #000000;
JSON
{
  "hex": "#462096",
  "rgb": {
    "r": 70,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 259.322,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3773,
    "c": 0.17645,
    "h": 289.8
  },
  "luminance": 0.04537
}

Semantic roles & 50–950 ramp

primary
#462096
secondary
#9CBE53
accent
#E840B2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #462096

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

Preview Lab → · Contrast checker → · Palette generator →

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