#462099#462099

#462099 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.180 H 289.1°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#462099
RGBrgb(70, 32, 153)
HSLhsl(259, 65%, 36%)
HSVhsv(259, 79%, 60%)
CMYKcmyk(54.2%, 79.1%, 0%, 40%)
CIE-LABlab(25.67, 46.51, -59.11)
CIE-LCHlch(25.67, 75.22, 308.20°)
OKLaboklab(38.03% 0.0588 -0.17)
OKLCHoklch(38.03% 0.18 289.1)
XYZxyz(8.7904, 4.6346, 30.5622)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462099 #739920
analogous
#203799 #462099 #832099
triadic
#462099 #994620 #209946
tetradic
#462099 #992037 #739920 #209983
square
#462099 #992037 #739920 #209983
split-complementary
#462099 #998320 #379920
monochromatic
#180B34 #2F1566 #462099 #5D2BCC #8157DC

Accessibility & contrast

On white

10.90
#462099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#462099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462099
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462099#FFFFFF#000000##FFFFFF
##4620991.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462099;
/* rgb */ color: rgb(70, 32, 153);
/* oklch */ color: oklch(38.0% 0.180 289.1);
Tailwind
colors: {
  custom: {
    50: '#8361b8',
    500: '#462099',
    950: '#000000',
  },
}
SCSS
$custom: #462099;
$custom-light: #8361b8;
$custom-dark: #000000;
JSON
{
  "hex": "#462099",
  "rgb": {
    "r": 70,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 258.843,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38025,
    "c": 0.17989,
    "h": 289.1
  },
  "luminance": 0.04635
}

Semantic roles & 50–950 ramp

primary
#462099
secondary
#9EC055
accent
#E83FB3
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #462099

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

Preview Lab → · Contrast checker → · Palette generator →

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