#462159#462159

#462159 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.7% C 0.102 H 312.6°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#462159
RGBrgb(70, 33, 89)
HSLhsl(280, 46%, 24%)
HSVhsv(280, 63%, 35%)
CMYKcmyk(21.3%, 62.9%, 0%, 65.1%)
CIE-LABlab(20.48, 28.48, -26.71)
CIE-LCHlch(20.48, 39.04, 316.84°)
OKLaboklab(32.66% 0.0689 -0.0749)
OKLCHoklch(32.66% 0.102 312.6)
XYZxyz(4.8725, 3.1112, 9.7931)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462159 #345921
analogous
#2A2159 #462159 #592150
triadic
#462159 #594621 #215946
tetradic
#462159 #592A21 #345921 #215059
square
#462159 #592A21 #345921 #215059
split-complementary
#462159 #505921 #21592A
monochromatic
#120816 #23102C #462159 #693286 #8C42B2

Accessibility & contrast

On white

12.95
#462159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#462159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462159
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462159#FFFFFF#000000##FFFFFF
##4621591.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2F5B
Deuteranopia (green-blind)
#1E3258
Tritanopia (blue-blind)
#442B39
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #462159;
/* rgb */ color: rgb(70, 33, 89);
/* oklch */ color: oklch(32.7% 0.102 312.6);
Tailwind
colors: {
  custom: {
    50: '#7b5e88',
    500: '#462159',
    950: '#000000',
  },
}
SCSS
$custom: #462159;
$custom-light: #7b5e88;
$custom-dark: #000000;
JSON
{
  "hex": "#462159",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 279.643,
    "s": 45.902,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32664,
    "c": 0.10179,
    "h": 312.6
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#462159
secondary
#608D49
accent
#D6527F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040B
muted
#7B797C

Preview Lab

Preview with #462159

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

Preview Lab → · Contrast checker → · Palette generator →

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