#462199#462199

#462199 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.179 H 288.9°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#462199
RGBrgb(70, 33, 153)
HSLhsl(259, 65%, 36%)
HSVhsv(259, 78%, 60%)
CMYKcmyk(54.2%, 78.4%, 0%, 40%)
CIE-LABlab(25.83, 46.04, -58.84)
CIE-LCHlch(25.83, 74.71, 308.04°)
OKLaboklab(38.14% 0.0581 -0.1692)
OKLCHoklch(38.14% 0.179 288.9)
XYZxyz(8.8177, 4.6893, 30.5713)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462199 #749921
analogous
#213899 #462199 #822199
triadic
#462199 #994621 #219946
tetradic
#462199 #992138 #749921 #219982
square
#462199 #992138 #749921 #219982
split-complementary
#462199 #998221 #389921
monochromatic
#180B34 #2F1667 #462199 #5D2CCB #8159DB

Accessibility & contrast

On white

10.84
#462199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#462199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462199
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462199#FFFFFF#000000##FFFFFF
##4621991.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#25435C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462199;
/* rgb */ color: rgb(70, 33, 153);
/* oklch */ color: oklch(38.1% 0.179 288.9);
Tailwind
colors: {
  custom: {
    50: '#8361b8',
    500: '#462199',
    950: '#000000',
  },
}
SCSS
$custom: #462199;
$custom-light: #8361b8;
$custom-dark: #000000;
JSON
{
  "hex": "#462199",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 258.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38139,
    "c": 0.17891,
    "h": 288.9
  },
  "luminance": 0.0469
}

Semantic roles & 50–950 ramp

primary
#462199
secondary
#9FBF56
accent
#E840B4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #462199

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

Preview Lab → · Contrast checker → · Palette generator →

#462199 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva