#462DC3#462DC3

#462DC3 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.8% C 0.216 H 280.2°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#462DC3
RGBrgb(70, 45, 195)
HSLhsl(250, 63%, 47%)
HSVhsv(250, 77%, 76%)
CMYKcmyk(64.1%, 76.9%, 0%, 23.5%)
CIE-LABlab(32.07, 52.44, -73.74)
CIE-LCHlch(32.07, 90.48, 305.42°)
OKLaboklab(43.77% 0.0384 -0.2128)
OKLCHoklch(43.77% 0.216 280.2)
XYZxyz(13.3114, 7.1180, 52.2916)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462DC3 #AAC32D
analogous
#2D5FC3 #462DC3 #912DC3
triadic
#462DC3 #C3462D #2DC346
tetradic
#462DC3 #C32D5F #AAC32D #2DC391
square
#462DC3 #C32D5F #AAC32D #2DC391
split-complementary
#462DC3 #C3912D #5FC32D
monochromatic
#221660 #342291 #462DC3 #6B55D8 #9687E3

Accessibility & contrast

On white

8.66
#462DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#462DC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462DC3
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462DC3#FFFFFF#000000##FFFFFF
##462DC31.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C7
Deuteranopia (green-blind)
#0046C0
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #462dc3;
/* rgb */ color: rgb(70, 45, 195);
/* oklch */ color: oklch(43.8% 0.216 280.2);
Tailwind
colors: {
  custom: {
    50: '#8a6ad6',
    500: '#462dc3',
    950: '#000000',
  },
}
SCSS
$custom: #462dc3;
$custom-light: #8a6ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#462dc3",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 250,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.21627,
    "h": 280.2
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#462DC3
secondary
#C0CD7F
accent
#E642CA
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #462DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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