#462CAA#462CAA

#462CAA is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.188 H 284.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#462CAA
RGBrgb(70, 44, 170)
HSLhsl(252, 59%, 42%)
HSVhsv(252, 74%, 67%)
CMYKcmyk(58.8%, 74.1%, 0%, 33.3%)
CIE-LABlab(29.43, 45.48, -63.25)
CIE-LCHlch(29.43, 77.90, 305.72°)
OKLaboklab(41.16% 0.0453 -0.1822)
OKLCHoklch(41.16% 0.188 284)
XYZxyz(10.6799, 6.0051, 38.6187)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462CAA #90AA2C
analogous
#2C51AA #462CAA #852CAA
triadic
#462CAA #AA462C #2CAA46
tetradic
#462CAA #AA2C51 #90AA2C #2CAA85
square
#462CAA #AA2C51 #90AA2C #2CAA85
split-complementary
#462CAA #AA852C #51AA2C
monochromatic
#1E1349 #321F79 #462CAA #6144CF #8A75DB

Accessibility & contrast

On white

9.54
#462CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462CAA
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462CAA#FFFFFF#000000##FFFFFF
##462CAA1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#0041A8
Tritanopia (blue-blind)
#0A4F69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #462caa;
/* rgb */ color: rgb(70, 44, 170);
/* oklch */ color: oklch(41.2% 0.188 284.0);
Tailwind
colors: {
  custom: {
    50: '#8568c4',
    500: '#462caa',
    950: '#000000',
  },
}
SCSS
$custom: #462caa;
$custom-light: #8568c4;
$custom-dark: #000000;
JSON
{
  "hex": "#462caa",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 252.381,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41164,
    "c": 0.18775,
    "h": 284
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #462CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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