#462879#462879

#462879 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.2% C 0.131 H 296.2°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#462879
RGBrgb(70, 40, 121)
HSLhsl(262, 50%, 32%)
HSVhsv(262, 67%, 47%)
CMYKcmyk(42.1%, 66.9%, 0%, 52.5%)
CIE-LABlab(24.32, 33.10, -41.33)
CIE-LCHlch(24.32, 52.96, 308.69°)
OKLaboklab(36.19% 0.0581 -0.1179)
OKLCHoklch(36.19% 0.131 296.2)
XYZxyz(6.7349, 4.2000, 18.5413)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462879 #5B7928
analogous
#283379 #462879 #6F2879
triadic
#462879 #794628 #287946
tetradic
#462879 #792833 #5B7928 #28796F
square
#462879 #792833 #5B7928 #28796F
split-complementary
#462879 #796F28 #337928
monochromatic
#110A1D #2B194B #462879 #6137A7 #7F55C7

Accessibility & contrast

On white

11.41
#462879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#462879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462879
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462879#FFFFFF#000000##FFFFFF
##4628791.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#393B4C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #462879;
/* rgb */ color: rgb(70, 40, 121);
/* oklch */ color: oklch(36.2% 0.131 296.2);
Tailwind
colors: {
  custom: {
    50: '#7e64a0',
    500: '#462879',
    950: '#000000',
  },
}
SCSS
$custom: #462879;
$custom-light: #7e64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#462879",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 262.222,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36192,
    "c": 0.13142,
    "h": 296.2
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#462879
secondary
#8AAB52
accent
#DA4EA6
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050F
muted
#7C7A7E

Preview Lab

Preview with #462879

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

Preview Lab → · Contrast checker → · Palette generator →

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