#462DB2#462DB2

#462DB2 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.196 H 282.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#462DB2
RGBrgb(70, 45, 178)
HSLhsl(251, 60%, 44%)
HSVhsv(251, 75%, 70%)
CMYKcmyk(60.7%, 74.7%, 0%, 30.2%)
CIE-LABlab(30.38, 47.36, -66.47)
CIE-LCHlch(30.38, 81.62, 305.47°)
OKLaboklab(42.07% 0.0426 -0.1916)
OKLCHoklch(42.07% 0.196 282.5)
XYZxyz(11.4976, 6.3924, 42.7388)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462DB2 #99B22D
analogous
#2D56B2 #462DB2 #882DB2
triadic
#462DB2 #B2462D #2DB246
tetradic
#462DB2 #B22D56 #99B22D #2DB288
square
#462DB2 #B22D56 #99B22D #2DB288
split-complementary
#462DB2 #B2882D #56B22D
monochromatic
#201450 #332181 #462DB2 #644BD1 #8E7CDE

Accessibility & contrast

On white

9.22
#462DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#462DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462DB2
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462DB2#FFFFFF#000000##FFFFFF
##462DB21.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #462db2;
/* rgb */ color: rgb(70, 45, 178);
/* oklch */ color: oklch(42.1% 0.196 282.5);
Tailwind
colors: {
  custom: {
    50: '#8669ca',
    500: '#462db2',
    950: '#000000',
  },
}
SCSS
$custom: #462db2;
$custom-light: #8669ca;
$custom-dark: #000000;
JSON
{
  "hex": "#462db2",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 251.278,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42072,
    "c": 0.19632,
    "h": 282.5
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#462DB2
secondary
#B7C675
accent
#E345C5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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