#462AB1#462AB1

#462AB1 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.198 H 283.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#462AB1
RGBrgb(70, 42, 177)
HSLhsl(252, 62%, 43%)
HSVhsv(252, 76%, 69%)
CMYKcmyk(60.5%, 76.3%, 0%, 30.6%)
CIE-LABlab(29.74, 48.60, -66.92)
CIE-LCHlch(29.74, 82.71, 305.99°)
OKLaboklab(41.59% 0.0449 -0.1929)
OKLCHoklch(41.59% 0.198 283.1)
XYZxyz(11.2871, 6.1316, 42.1752)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462AB1 #95B12A
analogous
#2A52B1 #462AB1 #892AB1
triadic
#462AB1 #B1462A #2AB146
tetradic
#462AB1 #B12A52 #95B12A #2AB189
square
#462AB1 #B12A52 #95B12A #2AB189
split-complementary
#462AB1 #B1892A #52B12A
monochromatic
#1F134E #321E80 #462AB1 #6345D3 #8C77DF

Accessibility & contrast

On white

9.43
#462AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#462AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462AB1
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462AB1#FFFFFF#000000##FFFFFF
##462AB11.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #462ab1;
/* rgb */ color: rgb(70, 42, 177);
/* oklch */ color: oklch(41.6% 0.198 283.1);
Tailwind
colors: {
  custom: {
    50: '#8667ca',
    500: '#462ab1',
    950: '#000000',
  },
}
SCSS
$custom: #462ab1;
$custom-light: #8667ca;
$custom-dark: #000000;
JSON
{
  "hex": "#462ab1",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 252.444,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41593,
    "c": 0.19809,
    "h": 283.1
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#462AB1
secondary
#B5C670
accent
#E543C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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