#462E9A#462E9A

#462E9A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.166 H 286.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#462E9A
RGBrgb(70, 46, 154)
HSLhsl(253, 54%, 39%)
HSVhsv(253, 70%, 60%)
CMYKcmyk(54.5%, 70.1%, 0%, 39.6%)
CIE-LABlab(28.35, 39.52, -55.32)
CIE-LCHlch(28.35, 67.99, 305.54°)
OKLaboklab(39.95% 0.0469 -0.159)
OKLCHoklch(39.95% 0.166 286.4)
XYZxyz(9.3338, 5.5887, 31.1525)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462E9A #829A2E
analogous
#2E4C9A #462E9A #7C2E9A
triadic
#462E9A #9A462E #2E9A46
tetradic
#462E9A #9A2E4C #829A2E #2E9A7C
square
#462E9A #9A2E4C #829A2E #2E9A7C
split-complementary
#462E9A #9A7C2E #4C9A2E
monochromatic
#1B123C #31206B #462E9A #5D3FC6 #856FD4

Accessibility & contrast

On white

9.92
#462E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462E9A
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462E9A#FFFFFF#000000##FFFFFF
##462E9A1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#234A60
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #462e9a;
/* rgb */ color: rgb(70, 46, 154);
/* oklch */ color: oklch(39.9% 0.166 286.4);
Tailwind
colors: {
  custom: {
    50: '#8269b9',
    500: '#462e9a',
    950: '#000000',
  },
}
SCSS
$custom: #462e9a;
$custom-light: #8269b9;
$custom-dark: #000000;
JSON
{
  "hex": "#462e9a",
  "rgb": {
    "r": 70,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 253.333,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39949,
    "c": 0.16577,
    "h": 286.4
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#462E9A
secondary
#A9BB69
accent
#DD4ABD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #462E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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