#462A96#462A96

#462A96 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.166 H 288.1°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#462A96
RGBrgb(70, 42, 150)
HSLhsl(256, 56%, 38%)
HSVhsv(256, 72%, 59%)
CMYKcmyk(53.3%, 72%, 0%, 41.2%)
CIE-LABlab(27.18, 40.54, -54.78)
CIE-LCHlch(27.18, 68.15, 306.51°)
OKLaboklab(39.01% 0.0514 -0.1574)
OKLCHoklch(39.01% 0.166 288.1)
XYZxyz(8.8572, 5.1596, 29.3775)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462A96 #7A962A
analogous
#2A4496 #462A96 #7C2A96
triadic
#462A96 #96462A #2A9646
tetradic
#462A96 #962A44 #7A962A #2A967C
square
#462A96 #962A44 #7A962A #2A967C
split-complementary
#462A96 #967C2A #44962A
monochromatic
#190F36 #301D66 #462A96 #5C37C6 #8366D4

Accessibility & contrast

On white

10.33
#462A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#462A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462A96
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462A96#FFFFFF#000000##FFFFFF
##462A961.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462a96;
/* rgb */ color: rgb(70, 42, 150);
/* oklch */ color: oklch(39.0% 0.166 288.1);
Tailwind
colors: {
  custom: {
    50: '#8266b6',
    500: '#462a96',
    950: '#000000',
  },
}
SCSS
$custom: #462a96;
$custom-light: #8266b6;
$custom-dark: #000000;
JSON
{
  "hex": "#462a96",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 255.556,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39008,
    "c": 0.16555,
    "h": 288.1
  },
  "luminance": 0.0516
}

Semantic roles & 50–950 ramp

primary
#462A96
secondary
#A3BA61
accent
#E048B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462A96

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

Preview Lab → · Contrast checker → · Palette generator →

#462A96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva