#462D9B#462D9B

#462D9B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.168 H 286.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#462D9B
RGBrgb(70, 45, 155)
HSLhsl(254, 55%, 39%)
HSVhsv(254, 71%, 61%)
CMYKcmyk(54.8%, 71%, 0%, 39.2%)
CIE-LABlab(28.23, 40.39, -56.12)
CIE-LCHlch(28.23, 69.14, 305.74°)
OKLaboklab(39.89% 0.0476 -0.1613)
OKLCHoklch(39.89% 0.168 286.5)
XYZxyz(9.3788, 5.5449, 31.5801)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462D9B #829B2D
analogous
#2D4B9B #462D9B #7D2D9B
triadic
#462D9B #9B462D #2D9B46
tetradic
#462D9B #9B2D4B #829B2D #2D9B7D
square
#462D9B #9B2D4B #829B2D #2D9B7D
split-complementary
#462D9B #9B7D2D #4B9B2D
monochromatic
#1B113C #311F6C #462D9B #5D3EC7 #856ED5

Accessibility & contrast

On white

9.96
#462D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#462D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462D9B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462D9B#FFFFFF#000000##FFFFFF
##462D9B1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#224A60
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462d9b;
/* rgb */ color: rgb(70, 45, 155);
/* oklch */ color: oklch(39.9% 0.168 286.5);
Tailwind
colors: {
  custom: {
    50: '#8268b9',
    500: '#462d9b',
    950: '#000000',
  },
}
SCSS
$custom: #462d9b;
$custom-light: #8268b9;
$custom-dark: #000000;
JSON
{
  "hex": "#462d9b",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 253.636,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39894,
    "c": 0.16822,
    "h": 286.5
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#462D9B
secondary
#A9BC68
accent
#DE49BD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #462D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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