#462D9E#462D9E

#462D9E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.172 H 285.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#462D9E
RGBrgb(70, 45, 158)
HSLhsl(253, 56%, 40%)
HSVhsv(253, 72%, 62%)
CMYKcmyk(55.7%, 71.5%, 0%, 38%)
CIE-LABlab(28.50, 41.30, -57.51)
CIE-LCHlch(28.50, 70.80, 305.68°)
OKLaboklab(40.17% 0.0471 -0.1654)
OKLCHoklch(40.17% 0.172 285.9)
XYZxyz(9.6339, 5.6470, 32.9235)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462D9E #859E2D
analogous
#2D4D9E #462D9E #7E2D9E
triadic
#462D9E #9E462D #2D9E46
tetradic
#462D9E #9E2D4D #859E2D #2D9E7E
square
#462D9E #9E2D4D #859E2D #2D9E7E
split-complementary
#462D9E #9E7E2D #4D9E2D
monochromatic
#1C123F #311F6E #462D9E #5E40C9 #866FD6

Accessibility & contrast

On white

9.86
#462D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#462D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462D9E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462D9E#FFFFFF#000000##FFFFFF
##462D9E1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#1F4B62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462d9e;
/* rgb */ color: rgb(70, 45, 158);
/* oklch */ color: oklch(40.2% 0.172 285.9);
Tailwind
colors: {
  custom: {
    50: '#8368bc',
    500: '#462d9e',
    950: '#000000',
  },
}
SCSS
$custom: #462d9e;
$custom-light: #8368bc;
$custom-dark: #000000;
JSON
{
  "hex": "#462d9e",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 253.274,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40169,
    "c": 0.17196,
    "h": 285.9
  },
  "luminance": 0.05647
}

Semantic roles & 50–950 ramp

primary
#462D9E
secondary
#ABBD69
accent
#DF49BE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #462D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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