#462070#462070

#462070 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.132 H 301.5°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#462070
RGBrgb(70, 32, 112)
HSLhsl(269, 56%, 28%)
HSVhsv(269, 71%, 44%)
CMYKcmyk(37.5%, 71.4%, 0%, 56.1%)
CIE-LABlab(21.96, 35.08, -39.40)
CIE-LCHlch(21.96, 52.75, 311.68°)
OKLaboklab(34.27% 0.0688 -0.1121)
OKLCHoklch(34.27% 0.132 301.5)
XYZxyz(5.9662, 3.5049, 15.6883)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462070 #4A7020
analogous
#202270 #462070 #6E2070
triadic
#462070 #704620 #207046
tetradic
#462070 #702022 #4A7020 #20706E
square
#462070 #702022 #4A7020 #20706E
split-complementary
#462070 #706E20 #227020
monochromatic
#0F0718 #281240 #462070 #642EA0 #8242C9

Accessibility & contrast

On white

12.35
#462070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#462070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462070
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462070#FFFFFF#000000##FFFFFF
##4620701.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#3D3345
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #462070;
/* rgb */ color: rgb(70, 32, 112);
/* oklch */ color: oklch(34.3% 0.132 301.5);
Tailwind
colors: {
  custom: {
    50: '#7d5f9a',
    500: '#462070',
    950: '#000000',
  },
}
SCSS
$custom: #462070;
$custom-light: #7d5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#462070",
  "rgb": {
    "r": 70,
    "g": 32,
    "b": 112
  },
  "hsl": {
    "h": 268.5,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34269,
    "c": 0.13155,
    "h": 301.5
  },
  "luminance": 0.03505
}

Semantic roles & 50–950 ramp

primary
#462070
secondary
#78A448
accent
#DF4998
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462070

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

Preview Lab → · Contrast checker → · Palette generator →

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