#462AAA#462AAA

#462AAA is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.190 H 284.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#462AAA
RGBrgb(70, 42, 170)
HSLhsl(253, 60%, 42%)
HSVhsv(253, 75%, 67%)
CMYKcmyk(58.8%, 75.3%, 0%, 33.3%)
CIE-LABlab(29.06, 46.52, -63.86)
CIE-LCHlch(29.06, 79.01, 306.07°)
OKLaboklab(40.9% 0.0468 -0.184)
OKLCHoklch(40.9% 0.19 284.3)
XYZxyz(10.6072, 5.8596, 38.5945)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462AAA #8EAA2A
analogous
#2A4EAA #462AAA #862AAA
triadic
#462AAA #AA462A #2AAA46
tetradic
#462AAA #AA2A4E #8EAA2A #2AAA86
square
#462AAA #AA2A4E #8EAA2A #2AAA86
split-complementary
#462AAA #AA862A #4EAA2A
monochromatic
#1E1248 #321E79 #462AAA #6041D0 #8972DC

Accessibility & contrast

On white

9.67
#462AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#462AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462AAA
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462AAA#FFFFFF#000000##FFFFFF
##462AAA1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#0B4E68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #462aaa;
/* rgb */ color: rgb(70, 42, 170);
/* oklch */ color: oklch(40.9% 0.190 284.3);
Tailwind
colors: {
  custom: {
    50: '#8567c4',
    500: '#462aaa',
    950: '#000000',
  },
}
SCSS
$custom: #462aaa;
$custom-light: #8567c4;
$custom-dark: #000000;
JSON
{
  "hex": "#462aaa",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 253.125,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40903,
    "c": 0.18983,
    "h": 284.3
  },
  "luminance": 0.0586
}

Semantic roles & 50–950 ramp

primary
#462AAA
secondary
#B0C36C
accent
#E444C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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