#462DB5#462DB5

#462DB5 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.200 H 282.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#462DB5
RGBrgb(70, 45, 181)
HSLhsl(251, 60%, 44%)
HSVhsv(251, 75%, 71%)
CMYKcmyk(61.3%, 75.1%, 0%, 29%)
CIE-LABlab(30.67, 48.26, -67.77)
CIE-LCHlch(30.67, 83.20, 305.46°)
OKLaboklab(42.37% 0.0419 -0.1954)
OKLCHoklch(42.37% 0.2 282.1)
XYZxyz(11.8021, 6.5142, 44.3426)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462DB5 #9CB52D
analogous
#2D58B5 #462DB5 #8A2DB5
triadic
#462DB5 #B5462D #2DB546
tetradic
#462DB5 #B52D58 #9CB52D #2DB58A
square
#462DB5 #B52D58 #9CB52D #2DB58A
split-complementary
#462DB5 #B58A2D #58B52D
monochromatic
#201553 #332184 #462DB5 #654DD3 #8F7EDF

Accessibility & contrast

On white

9.12
#462DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#462DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462DB5
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462DB5#FFFFFF#000000##FFFFFF
##462DB51.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #462db5;
/* rgb */ color: rgb(70, 45, 181);
/* oklch */ color: oklch(42.4% 0.200 282.1);
Tailwind
colors: {
  custom: {
    50: '#8769cc',
    500: '#462db5',
    950: '#000000',
  },
}
SCSS
$custom: #462db5;
$custom-light: #8769cc;
$custom-dark: #000000;
JSON
{
  "hex": "#462db5",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 251.029,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42367,
    "c": 0.19988,
    "h": 282.1
  },
  "luminance": 0.06515
}

Semantic roles & 50–950 ramp

primary
#462DB5
secondary
#B8C776
accent
#E344C6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #462DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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