#462D9D#462D9D

#462D9D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.171 H 286.1°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#462D9D
RGBrgb(70, 45, 157)
HSLhsl(253, 55%, 40%)
HSVhsv(253, 71%, 62%)
CMYKcmyk(55.4%, 71.3%, 0%, 38.4%)
CIE-LABlab(28.41, 41.00, -57.05)
CIE-LCHlch(28.41, 70.25, 305.70°)
OKLaboklab(40.08% 0.0473 -0.164)
OKLCHoklch(40.08% 0.171 286.1)
XYZxyz(9.5482, 5.6127, 32.4720)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462D9D #849D2D
analogous
#2D4C9D #462D9D #7E2D9D
triadic
#462D9D #9D462D #2D9D46
tetradic
#462D9D #9D2D4C #849D2D #2D9D7E
square
#462D9D #9D2D4C #849D2D #2D9D7E
split-complementary
#462D9D #9D7E2D #4C9D2D
monochromatic
#1C123E #311F6D #462D9D #5E3FC8 #866FD6

Accessibility & contrast

On white

9.89
#462D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#462D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462D9D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462D9D#FFFFFF#000000##FFFFFF
##462D9D1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#204A62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462d9d;
/* rgb */ color: rgb(70, 45, 157);
/* oklch */ color: oklch(40.1% 0.171 286.1);
Tailwind
colors: {
  custom: {
    50: '#8368bb',
    500: '#462d9d',
    950: '#000000',
  },
}
SCSS
$custom: #462d9d;
$custom-light: #8368bb;
$custom-dark: #000000;
JSON
{
  "hex": "#462d9d",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 253.393,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40077,
    "c": 0.17072,
    "h": 286.1
  },
  "luminance": 0.05613
}

Semantic roles & 50–950 ramp

primary
#462D9D
secondary
#AABD69
accent
#DF49BD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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