#462D7A#462D7A

#462D7A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.1% C 0.125 H 294.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#462D7A
RGBrgb(70, 45, 122)
HSLhsl(259, 46%, 33%)
HSVhsv(259, 63%, 48%)
CMYKcmyk(42.6%, 63.1%, 0%, 52.2%)
CIE-LABlab(25.51, 30.40, -40.04)
CIE-LCHlch(25.51, 50.27, 307.21°)
OKLaboklab(37.08% 0.0519 -0.1141)
OKLCHoklch(37.08% 0.125 294.4)
XYZxyz(6.9761, 4.5838, 18.9258)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462D7A #617A2D
analogous
#2D3A7A #462D7A #6D2D7A
triadic
#462D7A #7A462D #2D7A46
tetradic
#462D7A #7A2D3A #617A2D #2D7A6D
square
#462D7A #7A2D3A #617A2D #2D7A6D
split-complementary
#462D7A #7A6D2D #3A7A2D
monochromatic
#130C21 #2C1D4D #462D7A #603DA7 #7F5EC4

Accessibility & contrast

On white

10.96
#462D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#462D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462D7A
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462D7A#FFFFFF#000000##FFFFFF
##462D7A1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#023B78
Tritanopia (blue-blind)
#383E4F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462d7a;
/* rgb */ color: rgb(70, 45, 122);
/* oklch */ color: oklch(37.1% 0.125 294.4);
Tailwind
colors: {
  custom: {
    50: '#7e67a1',
    500: '#462d7a',
    950: '#000000',
  },
}
SCSS
$custom: #462d7a;
$custom-light: #7e67a1;
$custom-dark: #000000;
JSON
{
  "hex": "#462d7a",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 259.481,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37082,
    "c": 0.12531,
    "h": 294.4
  },
  "luminance": 0.04584
}

Semantic roles & 50–950 ramp

primary
#462D7A
secondary
#90AA59
accent
#D652AB
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #462D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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