#462EAE#462EAE

#462EAE is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.190 H 283.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#462EAE
RGBrgb(70, 46, 174)
HSLhsl(251, 58%, 43%)
HSVhsv(251, 74%, 68%)
CMYKcmyk(59.8%, 73.6%, 0%, 31.8%)
CIE-LABlab(30.18, 45.62, -64.40)
CIE-LCHlch(30.18, 78.93, 305.31°)
OKLaboklab(41.82% 0.0429 -0.1856)
OKLCHoklch(41.82% 0.19 283)
XYZxyz(11.1404, 6.3113, 40.6674)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462EAE #96AE2E
analogous
#2E56AE #462EAE #862EAE
triadic
#462EAE #AE462E #2EAE46
tetradic
#462EAE #AE2E56 #96AE2E #2EAE86
square
#462EAE #AE2E56 #96AE2E #2EAE86
split-complementary
#462EAE #AE862E #56AE2E
monochromatic
#1F144D #33217E #462EAE #634ACF #8D7ADC

Accessibility & contrast

On white

9.28
#462EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#462EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462EAE
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462EAE#FFFFFF#000000##FFFFFF
##462EAE1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #462eae;
/* rgb */ color: rgb(70, 46, 174);
/* oklch */ color: oklch(41.8% 0.190 283.0);
Tailwind
colors: {
  custom: {
    50: '#8669c7',
    500: '#462eae',
    950: '#000000',
  },
}
SCSS
$custom: #462eae;
$custom-light: #8669c7;
$custom-dark: #000000;
JSON
{
  "hex": "#462eae",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 251.25,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41817,
    "c": 0.19047,
    "h": 283
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#462EAE
secondary
#B5C474
accent
#E146C4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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