#462C99#462C99

#462C99 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.167 H 287.0°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#462C99
RGBrgb(70, 44, 153)
HSLhsl(254, 55%, 39%)
HSVhsv(254, 71%, 60%)
CMYKcmyk(54.2%, 71.2%, 0%, 40%)
CIE-LABlab(27.85, 40.34, -55.52)
CIE-LCHlch(27.85, 68.63, 306.00°)
OKLaboklab(39.57% 0.0489 -0.1596)
OKLCHoklch(39.57% 0.167 287)
XYZxyz(9.1745, 5.4029, 30.6903)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462C99 #7F992C
analogous
#2C4899 #462C99 #7C2C99
triadic
#462C99 #99462C #2C9946
tetradic
#462C99 #992C48 #7F992C #2C997C
square
#462C99 #992C48 #7F992C #2C997C
split-complementary
#462C99 #997C2C #48992C
monochromatic
#1B113A #301E69 #462C99 #5D3BC7 #846BD4

Accessibility & contrast

On white

10.09
#462C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#462C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462C99
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462C99#FFFFFF#000000##FFFFFF
##462C991.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#24485F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #462c99;
/* rgb */ color: rgb(70, 44, 153);
/* oklch */ color: oklch(39.6% 0.167 287.0);
Tailwind
colors: {
  custom: {
    50: '#8267b8',
    500: '#462c99',
    950: '#000000',
  },
}
SCSS
$custom: #462c99;
$custom-light: #8267b8;
$custom-dark: #000000;
JSON
{
  "hex": "#462c99",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 254.312,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39567,
    "c": 0.1669,
    "h": 287
  },
  "luminance": 0.05403
}

Semantic roles & 50–950 ramp

primary
#462C99
secondary
#A7BB66
accent
#DF49BB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462C99

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

Preview Lab → · Contrast checker → · Palette generator →

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