#462176#462176

#462176 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.137 H 299.0°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#462176
RGBrgb(70, 33, 118)
HSLhsl(266, 56%, 30%)
HSVhsv(266, 72%, 46%)
CMYKcmyk(40.7%, 72%, 0%, 53.7%)
CIE-LABlab(22.65, 36.19, -42.14)
CIE-LCHlch(22.65, 55.55, 310.65°)
OKLaboklab(34.91% 0.0667 -0.1202)
OKLCHoklch(34.91% 0.137 299)
XYZxyz(6.3388, 3.6977, 17.5158)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462176 #517621
analogous
#212676 #462176 #712176
triadic
#462176 #764621 #217646
tetradic
#462176 #762126 #517621 #217671
square
#462176 #762126 #517621 #217671
split-complementary
#462176 #767121 #267621
monochromatic
#0E0718 #2A1446 #462176 #622EA6 #8046CB

Accessibility & contrast

On white

12.07
#462176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#462176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462176
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462176#FFFFFF#000000##FFFFFF
##4621761.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#3B3549
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #462176;
/* rgb */ color: rgb(70, 33, 118);
/* oklch */ color: oklch(34.9% 0.137 299.0);
Tailwind
colors: {
  custom: {
    50: '#7e5f9e',
    500: '#462176',
    950: '#000000',
  },
}
SCSS
$custom: #462176;
$custom-light: #7e5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#462176",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 266.118,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34912,
    "c": 0.13747,
    "h": 299
  },
  "luminance": 0.03698
}

Semantic roles & 50–950 ramp

primary
#462176
secondary
#80A94A
accent
#E0489E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462176

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

Preview Lab → · Contrast checker → · Palette generator →

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