#462EAB#462EAB

#462EAB is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.187 H 283.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#462EAB
RGBrgb(70, 46, 171)
HSLhsl(252, 58%, 43%)
HSVhsv(252, 73%, 67%)
CMYKcmyk(59.1%, 73.1%, 0%, 32.9%)
CIE-LABlab(29.90, 44.71, -63.07)
CIE-LCHlch(29.90, 77.31, 305.33°)
OKLaboklab(41.53% 0.0435 -0.1817)
OKLCHoklch(41.53% 0.187 283.5)
XYZxyz(10.8512, 6.1957, 39.1443)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462EAB #93AB2E
analogous
#2E54AB #462EAB #852EAB
triadic
#462EAB #AB462E #2EAB46
tetradic
#462EAB #AB2E54 #93AB2E #2EAB85
square
#462EAB #AB2E54 #93AB2E #2EAB85
split-complementary
#462EAB #AB852E #54AB2E
monochromatic
#1F144B #32217B #462EAB #6248CE #8B79DB

Accessibility & contrast

On white

9.38
#462EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#462EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462EAB
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462EAB#FFFFFF#000000##FFFFFF
##462EAB1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#07506A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #462eab;
/* rgb */ color: rgb(70, 46, 171);
/* oklch */ color: oklch(41.5% 0.187 283.5);
Tailwind
colors: {
  custom: {
    50: '#8569c5',
    500: '#462eab',
    950: '#000000',
  },
}
SCSS
$custom: #462eab;
$custom-light: #8569c5;
$custom-dark: #000000;
JSON
{
  "hex": "#462eab",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 251.52,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41529,
    "c": 0.18684,
    "h": 283.5
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#462EAB
secondary
#B3C372
accent
#E147C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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