#462AAE#462AAE

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

Color values

HEX#462AAE
RGBrgb(70, 42, 174)
HSLhsl(253, 61%, 42%)
HSVhsv(253, 76%, 68%)
CMYKcmyk(59.8%, 75.9%, 0%, 31.8%)
CIE-LABlab(29.45, 47.71, -65.62)
CIE-LCHlch(29.45, 81.13, 306.02°)
OKLaboklab(41.3% 0.0457 -0.1891)
OKLCHoklch(41.3% 0.195 283.6)
XYZxyz(10.9914, 6.0133, 40.6177)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462AAE #92AE2A
analogous
#2A50AE #462AAE #882AAE
triadic
#462AAE #AE462A #2AAE46
tetradic
#462AAE #AE2A50 #92AE2A #2AAE88
square
#462AAE #AE2A50 #92AE2A #2AAE88
split-complementary
#462AAE #AE882A #50AE2A
monochromatic
#1E124B #321E7D #462AAE #6243D2 #8B75DE

Accessibility & contrast

On white

9.53
#462AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#462AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462AAE
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462AAE#FFFFFF#000000##FFFFFF
##462AAE1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #462aae;
/* rgb */ color: rgb(70, 42, 174);
/* oklch */ color: oklch(41.3% 0.195 283.6);
Tailwind
colors: {
  custom: {
    50: '#8667c7',
    500: '#462aae',
    950: '#000000',
  },
}
SCSS
$custom: #462aae;
$custom-light: #8667c7;
$custom-dark: #000000;
JSON
{
  "hex": "#462aae",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 252.727,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41296,
    "c": 0.19457,
    "h": 283.6
  },
  "luminance": 0.06014
}

Semantic roles & 50–950 ramp

primary
#462AAE
secondary
#B3C56F
accent
#E444C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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