#462971#462971

#462971 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.7% C 0.119 H 298.8°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#462971
RGBrgb(70, 41, 113)
HSLhsl(264, 47%, 30%)
HSVhsv(264, 64%, 44%)
CMYKcmyk(38.1%, 63.7%, 0%, 55.7%)
CIE-LABlab(23.93, 30.20, -36.85)
CIE-LCHlch(23.93, 47.65, 309.34°)
OKLaboklab(35.72% 0.0575 -0.1047)
OKLCHoklch(35.72% 0.119 298.8)
XYZxyz(6.2986, 4.0801, 16.0753)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462971 #547129
analogous
#293071 #462971 #6A2971
triadic
#462971 #714629 #297146
tetradic
#462971 #712930 #547129 #29716A
square
#462971 #712930 #547129 #29716A
split-complementary
#462971 #716A29 #307129
monochromatic
#0E0817 #2A1944 #462971 #62399E #8054C1

Accessibility & contrast

On white

11.56
#462971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#462971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462971
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462971#FFFFFF#000000##FFFFFF
##4629711.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#0D386F
Tritanopia (blue-blind)
#3C3849
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #462971;
/* rgb */ color: rgb(70, 41, 113);
/* oklch */ color: oklch(35.7% 0.119 298.8);
Tailwind
colors: {
  custom: {
    50: '#7d649a',
    500: '#462971',
    950: '#000000',
  },
}
SCSS
$custom: #462971;
$custom-light: #7d649a;
$custom-dark: #000000;
JSON
{
  "hex": "#462971",
  "rgb": {
    "r": 70,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 264.167,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35718,
    "c": 0.11943,
    "h": 298.8
  },
  "luminance": 0.0408
}

Semantic roles & 50–950 ramp

primary
#462971
secondary
#83A353
accent
#D651A1
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #462971

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

Preview Lab → · Contrast checker → · Palette generator →

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