#462CAC#462CAC

#462CAC is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.190 H 283.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#462CAC
RGBrgb(70, 44, 172)
HSLhsl(252, 59%, 42%)
HSVhsv(252, 74%, 67%)
CMYKcmyk(59.3%, 74.4%, 0%, 32.5%)
CIE-LABlab(29.62, 46.08, -64.14)
CIE-LCHlch(29.62, 78.97, 305.69°)
OKLaboklab(41.36% 0.0448 -0.1848)
OKLCHoklch(41.36% 0.19 283.6)
XYZxyz(10.8706, 6.0813, 39.6227)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462CAC #92AC2C
analogous
#2C52AC #462CAC #862CAC
triadic
#462CAC #AC462C #2CAC46
tetradic
#462CAC #AC2C52 #92AC2C #2CAC86
square
#462CAC #AC2C52 #92AC2C #2CAC86
split-complementary
#462CAC #AC862C #52AC2C
monochromatic
#1E134B #32207B #462CAC #6246D0 #8B76DC

Accessibility & contrast

On white

9.47
#462CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#462CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462CAC
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462CAC#FFFFFF#000000##FFFFFF
##462CAC1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#04506A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #462cac;
/* rgb */ color: rgb(70, 44, 172);
/* oklch */ color: oklch(41.4% 0.190 283.6);
Tailwind
colors: {
  custom: {
    50: '#8568c6',
    500: '#462cac',
    950: '#000000',
  },
}
SCSS
$custom: #462cac;
$custom-light: #8568c6;
$custom-dark: #000000;
JSON
{
  "hex": "#462cac",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 252.188,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41357,
    "c": 0.19016,
    "h": 283.6
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#462CAC
secondary
#B3C470
accent
#E245C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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