#462DC2#462DC2

#462DC2 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.7% C 0.215 H 280.3°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#462DC2
RGBrgb(70, 45, 194)
HSLhsl(250, 62%, 47%)
HSVhsv(250, 77%, 76%)
CMYKcmyk(63.9%, 76.8%, 0%, 23.9%)
CIE-LABlab(31.97, 52.14, -73.32)
CIE-LCHlch(31.97, 89.97, 305.42°)
OKLaboklab(43.67% 0.0386 -0.2116)
OKLCHoklch(43.67% 0.215 280.3)
XYZxyz(13.1987, 7.0729, 51.6981)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462DC2 #A9C22D
analogous
#2D5FC2 #462DC2 #912DC2
triadic
#462DC2 #C2462D #2DC246
tetradic
#462DC2 #C22D5F #A9C22D #2DC291
square
#462DC2 #C22D5F #A9C22D #2DC291
split-complementary
#462DC2 #C2912D #5FC22D
monochromatic
#22165F #342190 #462DC2 #6B55D7 #9686E3

Accessibility & contrast

On white

8.70
#462DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#462DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462DC2
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462DC2#FFFFFF#000000##FFFFFF
##462DC21.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C6
Deuteranopia (green-blind)
#0046BF
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #462dc2;
/* rgb */ color: rgb(70, 45, 194);
/* oklch */ color: oklch(43.7% 0.215 280.3);
Tailwind
colors: {
  custom: {
    50: '#896ad6',
    500: '#462dc2',
    950: '#000000',
  },
}
SCSS
$custom: #462dc2;
$custom-light: #896ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#462dc2",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 250.067,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43667,
    "c": 0.21512,
    "h": 280.3
  },
  "luminance": 0.07074
}

Semantic roles & 50–950 ramp

primary
#462DC2
secondary
#BFCD7E
accent
#E542CA
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #462DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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