#462071#462071

#462071 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.133 H 301.1°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#462071
RGBrgb(70, 32, 113)
HSLhsl(268, 56%, 28%)
HSVhsv(268, 72%, 44%)
CMYKcmyk(38.1%, 71.7%, 0%, 55.7%)
CIE-LABlab(22.04, 35.35, -39.91)
CIE-LCHlch(22.04, 53.32, 311.53°)
OKLaboklab(34.35% 0.0686 -0.1137)
OKLCHoklch(34.35% 0.133 301.1)
XYZxyz(6.0222, 3.5273, 15.9832)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462071 #4B7120
analogous
#202271 #462071 #6E2071
triadic
#462071 #714620 #207146
tetradic
#462071 #712022 #4B7120 #20716E
square
#462071 #712022 #4B7120 #20716E
split-complementary
#462071 #716E20 #227120
monochromatic
#0F0718 #281241 #462071 #642EA1 #8242C9

Accessibility & contrast

On white

12.31
#462071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#462071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462071
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462071#FFFFFF#000000##FFFFFF
##4620711.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#3D3346
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #462071;
/* rgb */ color: rgb(70, 32, 113);
/* oklch */ color: oklch(34.4% 0.133 301.1);
Tailwind
colors: {
  custom: {
    50: '#7e5f9a',
    500: '#462071',
    950: '#000000',
  },
}
SCSS
$custom: #462071;
$custom-light: #7e5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#462071",
  "rgb": {
    "r": 70,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 268.148,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34353,
    "c": 0.13276,
    "h": 301.1
  },
  "luminance": 0.03527
}

Semantic roles & 50–950 ramp

primary
#462071
secondary
#79A548
accent
#DF4999
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462071

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

Preview Lab → · Contrast checker → · Palette generator →

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