#462CAB#462CAB

#462CAB is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.189 H 283.8°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#462CAB
RGBrgb(70, 44, 171)
HSLhsl(252, 59%, 42%)
HSVhsv(252, 74%, 67%)
CMYKcmyk(59.1%, 74.3%, 0%, 32.9%)
CIE-LABlab(29.52, 45.78, -63.70)
CIE-LCHlch(29.52, 78.44, 305.70°)
OKLaboklab(41.26% 0.045 -0.1835)
OKLCHoklch(41.26% 0.189 283.8)
XYZxyz(10.7749, 6.0430, 39.1188)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462CAB #91AB2C
analogous
#2C52AB #462CAB #852CAB
triadic
#462CAB #AB462C #2CAB46
tetradic
#462CAB #AB2C52 #91AB2C #2CAB85
square
#462CAB #AB2C52 #91AB2C #2CAB85
split-complementary
#462CAB #AB852C #52AB2C
monochromatic
#1E134A #321F7A #462CAB #6145CF #8B76DC

Accessibility & contrast

On white

9.51
#462CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#462CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462CAB
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462CAB#FFFFFF#000000##FFFFFF
##462CAB1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#074F69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #462cab;
/* rgb */ color: rgb(70, 44, 171);
/* oklch */ color: oklch(41.3% 0.189 283.8);
Tailwind
colors: {
  custom: {
    50: '#8568c5',
    500: '#462cab',
    950: '#000000',
  },
}
SCSS
$custom: #462cab;
$custom-light: #8568c5;
$custom-dark: #000000;
JSON
{
  "hex": "#462cab",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 252.283,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4126,
    "c": 0.18895,
    "h": 283.8
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#462CAB
secondary
#B2C36F
accent
#E246C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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