#462DAB#462DAB

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

Color values

HEX#462DAB
RGBrgb(70, 45, 171)
HSLhsl(252, 58%, 42%)
HSVhsv(252, 74%, 67%)
CMYKcmyk(59.1%, 73.7%, 0%, 32.9%)
CIE-LABlab(29.71, 45.25, -63.39)
CIE-LCHlch(29.71, 77.88, 305.52°)
OKLaboklab(41.39% 0.0443 -0.1826)
OKLCHoklch(41.39% 0.188 283.6)
XYZxyz(10.8126, 6.1184, 39.1314)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462DAB #92AB2D
analogous
#2D53AB #462DAB #852DAB
triadic
#462DAB #AB462D #2DAB46
tetradic
#462DAB #AB2D53 #92AB2D #2DAB85
square
#462DAB #AB2D53 #92AB2D #2DAB85
split-complementary
#462DAB #AB852D #53AB2D
monochromatic
#1E144A #32207B #462DAB #6247CE #8B77DB

Accessibility & contrast

On white

9.44
#462DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462DAB
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462DAB#FFFFFF#000000##FFFFFF
##462DAB1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462dab;
/* rgb */ color: rgb(70, 45, 171);
/* oklch */ color: oklch(41.4% 0.188 283.6);
Tailwind
colors: {
  custom: {
    50: '#8569c5',
    500: '#462dab',
    950: '#000000',
  },
}
SCSS
$custom: #462dab;
$custom-light: #8569c5;
$custom-dark: #000000;
JSON
{
  "hex": "#462dab",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 251.905,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41394,
    "c": 0.1879,
    "h": 283.6
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#462DAB
secondary
#B3C371
accent
#E246C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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