#462799#462799

#462799 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.173 H 288.0°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#462799
RGBrgb(70, 39, 153)
HSLhsl(256, 59%, 38%)
HSVhsv(256, 75%, 60%)
CMYKcmyk(54.2%, 74.5%, 0%, 40%)
CIE-LABlab(26.88, 43.05, -57.11)
CIE-LCHlch(26.88, 71.52, 307.01°)
OKLaboklab(38.88% 0.0533 -0.1642)
OKLCHoklch(38.88% 0.173 288)
XYZxyz(8.9994, 5.0526, 30.6319)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462799 #7A9927
analogous
#274199 #462799 #7F2799
triadic
#462799 #994627 #279946
tetradic
#462799 #992741 #7A9927 #27997F
square
#462799 #992741 #7A9927 #27997F
split-complementary
#462799 #997F27 #419927
monochromatic
#190E37 #301B68 #462799 #5C33CA #8363D7

Accessibility & contrast

On white

10.44
#462799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#462799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462799
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462799#FFFFFF#000000##FFFFFF
##4627991.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#25465E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #462799;
/* rgb */ color: rgb(70, 39, 153);
/* oklch */ color: oklch(38.9% 0.173 288.0);
Tailwind
colors: {
  custom: {
    50: '#8364b8',
    500: '#462799',
    950: '#000000',
  },
}
SCSS
$custom: #462799;
$custom-light: #8364b8;
$custom-dark: #000000;
JSON
{
  "hex": "#462799",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 256.316,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38879,
    "c": 0.17264,
    "h": 288
  },
  "luminance": 0.05053
}

Semantic roles & 50–950 ramp

primary
#462799
secondary
#A3BD5F
accent
#E345B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #462799

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

Preview Lab → · Contrast checker → · Palette generator →

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