#462996#462996

#462996 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.167 H 288.3°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#462996
RGBrgb(70, 41, 150)
HSLhsl(256, 57%, 37%)
HSVhsv(256, 73%, 59%)
CMYKcmyk(53.3%, 72.7%, 0%, 41.2%)
CIE-LABlab(26.99, 41.09, -55.10)
CIE-LCHlch(26.99, 68.73, 306.71°)
OKLaboklab(38.87% 0.0523 -0.1583)
OKLCHoklch(38.87% 0.167 288.3)
XYZxyz(8.8221, 5.0896, 29.3658)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462996 #799629
analogous
#294396 #462996 #7C2996
triadic
#462996 #964629 #299646
tetradic
#462996 #962943 #799629 #29967C
square
#462996 #962943 #799629 #29967C
split-complementary
#462996 #967C29 #439629
monochromatic
#190F36 #301C66 #462996 #5C36C6 #8265D5

Accessibility & contrast

On white

10.41
#462996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#462996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462996
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462996#FFFFFF#000000##FFFFFF
##4629961.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#27465D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #462996;
/* rgb */ color: rgb(70, 41, 150);
/* oklch */ color: oklch(38.9% 0.167 288.3);
Tailwind
colors: {
  custom: {
    50: '#8265b6',
    500: '#462996',
    950: '#000000',
  },
}
SCSS
$custom: #462996;
$custom-light: #8265b6;
$custom-dark: #000000;
JSON
{
  "hex": "#462996",
  "rgb": {
    "r": 70,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 255.963,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38868,
    "c": 0.16672,
    "h": 288.3
  },
  "luminance": 0.0509
}

Semantic roles & 50–950 ramp

primary
#462996
secondary
#A3BB60
accent
#E047B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462996

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

Preview Lab → · Contrast checker → · Palette generator →

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