#462299#462299

#462299 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.178 H 288.8°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#462299
RGBrgb(70, 34, 153)
HSLhsl(258, 64%, 37%)
HSVhsv(258, 78%, 60%)
CMYKcmyk(54.2%, 77.8%, 0%, 40%)
CIE-LABlab(26.00, 45.57, -58.57)
CIE-LCHlch(26.00, 74.20, 307.88°)
OKLaboklab(38.26% 0.0573 -0.1684)
OKLCHoklch(38.26% 0.178 288.8)
XYZxyz(8.8459, 4.7456, 30.5807)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462299 #759922
analogous
#223A99 #462299 #822299
triadic
#462299 #994622 #229946
tetradic
#462299 #99223A #759922 #229982
square
#462299 #99223A #759922 #229982
split-complementary
#462299 #998222 #3A9922
monochromatic
#180C35 #2F1767 #462299 #5D2DCB #815BDB

Accessibility & contrast

On white

10.77
#462299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#462299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462299
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462299#FFFFFF#000000##FFFFFF
##4622991.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462299;
/* rgb */ color: rgb(70, 34, 153);
/* oklch */ color: oklch(38.3% 0.178 288.8);
Tailwind
colors: {
  custom: {
    50: '#8362b8',
    500: '#462299',
    950: '#000000',
  },
}
SCSS
$custom: #462299;
$custom-light: #8362b8;
$custom-dark: #000000;
JSON
{
  "hex": "#462299",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 258.151,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38256,
    "c": 0.17792,
    "h": 288.8
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#462299
secondary
#A0BF58
accent
#E741B5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #462299

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

Preview Lab → · Contrast checker → · Palette generator →

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