#462BB1#462BB1

#462BB1 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.197 H 283.0°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#462BB1
RGBrgb(70, 43, 177)
HSLhsl(252, 61%, 43%)
HSVhsv(252, 76%, 69%)
CMYKcmyk(60.5%, 75.7%, 0%, 30.6%)
CIE-LABlab(29.92, 48.09, -66.63)
CIE-LCHlch(29.92, 82.18, 305.82°)
OKLaboklab(41.72% 0.0443 -0.1921)
OKLCHoklch(41.72% 0.197 283)
XYZxyz(11.3230, 6.2034, 42.1872)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462BB1 #96B12B
analogous
#2B53B1 #462BB1 #892BB1
triadic
#462BB1 #B1462B #2BB146
tetradic
#462BB1 #B12B53 #96B12B #2BB189
square
#462BB1 #B12B53 #96B12B #2BB189
split-complementary
#462BB1 #B1892B #53B12B
monochromatic
#1F134F #331F80 #462BB1 #6347D2 #8D78DE

Accessibility & contrast

On white

9.37
#462BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#462BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462BB1
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462BB1#FFFFFF#000000##FFFFFF
##462BB11.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462bb1;
/* rgb */ color: rgb(70, 43, 177);
/* oklch */ color: oklch(41.7% 0.197 283.0);
Tailwind
colors: {
  custom: {
    50: '#8668ca',
    500: '#462bb1',
    950: '#000000',
  },
}
SCSS
$custom: #462bb1;
$custom-light: #8668ca;
$custom-dark: #000000;
JSON
{
  "hex": "#462bb1",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 252.09,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41718,
    "c": 0.19713,
    "h": 283
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#462BB1
secondary
#B5C672
accent
#E444C4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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