#462DB1#462DB1

#462DB1 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.195 H 282.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#462DB1
RGBrgb(70, 45, 177)
HSLhsl(251, 59%, 44%)
HSVhsv(251, 75%, 69%)
CMYKcmyk(60.5%, 74.6%, 0%, 30.6%)
CIE-LABlab(30.28, 47.06, -66.03)
CIE-LCHlch(30.28, 81.08, 305.48°)
OKLaboklab(41.97% 0.0429 -0.1903)
OKLCHoklch(41.97% 0.195 282.7)
XYZxyz(11.3975, 6.3524, 42.2120)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462DB1 #98B12D
analogous
#2D56B1 #462DB1 #882DB1
triadic
#462DB1 #B1462D #2DB146
tetradic
#462DB1 #B12D56 #98B12D #2DB188
square
#462DB1 #B12D56 #98B12D #2DB188
split-complementary
#462DB1 #B1882D #56B12D
monochromatic
#1F144F #332180 #462DB1 #644AD1 #8E7BDD

Accessibility & contrast

On white

9.25
#462DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#462DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462DB1
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462DB1#FFFFFF#000000##FFFFFF
##462DB11.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462db1;
/* rgb */ color: rgb(70, 45, 177);
/* oklch */ color: oklch(42.0% 0.195 282.7);
Tailwind
colors: {
  custom: {
    50: '#8669c9',
    500: '#462db1',
    950: '#000000',
  },
}
SCSS
$custom: #462db1;
$custom-light: #8669c9;
$custom-dark: #000000;
JSON
{
  "hex": "#462db1",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 251.364,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41974,
    "c": 0.19512,
    "h": 282.7
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#462DB1
secondary
#B6C674
accent
#E345C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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