#462CB1#462CB1

#462CB1 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.196 H 282.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#462CB1
RGBrgb(70, 44, 177)
HSLhsl(252, 60%, 43%)
HSVhsv(252, 75%, 69%)
CMYKcmyk(60.5%, 75.1%, 0%, 30.6%)
CIE-LABlab(30.10, 47.58, -66.33)
CIE-LCHlch(30.10, 81.63, 305.65°)
OKLaboklab(41.85% 0.0436 -0.1912)
OKLCHoklch(41.85% 0.196 282.8)
XYZxyz(11.3598, 6.2770, 42.1994)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462CB1 #97B12C
analogous
#2C55B1 #462CB1 #882CB1
triadic
#462CB1 #B1462C #2CB146
tetradic
#462CB1 #B12C55 #97B12C #2CB188
square
#462CB1 #B12C55 #97B12C #2CB188
split-complementary
#462CB1 #B1882C #55B12C
monochromatic
#1F144F #332080 #462CB1 #6349D2 #8D7ADE

Accessibility & contrast

On white

9.31
#462CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#462CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462CB1
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462CB1#FFFFFF#000000##FFFFFF
##462CB11.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462cb1;
/* rgb */ color: rgb(70, 44, 177);
/* oklch */ color: oklch(41.8% 0.196 282.8);
Tailwind
colors: {
  custom: {
    50: '#8668c9',
    500: '#462cb1',
    950: '#000000',
  },
}
SCSS
$custom: #462cb1;
$custom-light: #8668c9;
$custom-dark: #000000;
JSON
{
  "hex": "#462cb1",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 251.729,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41845,
    "c": 0.19613,
    "h": 282.8
  },
  "luminance": 0.06278
}

Semantic roles & 50–950 ramp

primary
#462CB1
secondary
#B6C673
accent
#E344C4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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