#462C7D#462C7D

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

Color values

HEX#462C7D
RGBrgb(70, 44, 125)
HSLhsl(259, 48%, 33%)
HSVhsv(259, 65%, 49%)
CMYKcmyk(44%, 64.8%, 0%, 51%)
CIE-LABlab(25.51, 31.90, -41.94)
CIE-LCHlch(25.51, 52.69, 307.26°)
OKLaboklab(37.16% 0.0529 -0.1196)
OKLCHoklch(37.16% 0.131 293.8)
XYZxyz(7.1271, 4.5839, 19.9073)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462C7D #637D2C
analogous
#2C3A7D #462C7D #6E2C7D
triadic
#462C7D #7D462C #2C7D46
tetradic
#462C7D #7D2C3A #637D2C #2C7D6E
square
#462C7D #7D2C3A #637D2C #2C7D6E
split-complementary
#462C7D #7D6E2C #3A7D2C
monochromatic
#130C22 #2D1C50 #462C7D #5F3CAA #7F5DC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##462C7D#FFFFFF#000000##FFFFFF
##462C7D1.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)
#003D80
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#373E50
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462c7d;
/* rgb */ color: rgb(70, 44, 125);
/* oklch */ color: oklch(37.2% 0.131 293.8);
Tailwind
colors: {
  custom: {
    50: '#7e66a3',
    500: '#462c7d',
    950: '#000000',
  },
}
SCSS
$custom: #462c7d;
$custom-light: #7e66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#462c7d",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 259.259,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37155,
    "c": 0.13082,
    "h": 293.8
  },
  "luminance": 0.04584
}

Semantic roles & 50–950 ramp

primary
#462C7D
secondary
#91AC59
accent
#D850AC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #462C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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