#462076#462076

#462076 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.139 H 299.2°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#462076
RGBrgb(70, 32, 118)
HSLhsl(267, 57%, 29%)
HSVhsv(267, 73%, 46%)
CMYKcmyk(40.7%, 72.9%, 0%, 53.7%)
CIE-LABlab(22.45, 36.72, -42.45)
CIE-LCHlch(22.45, 56.13, 310.86°)
OKLaboklab(34.78% 0.0678 -0.1211)
OKLCHoklch(34.78% 0.139 299.2)
XYZxyz(6.3115, 3.6430, 17.5067)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462076 #507620
analogous
#202576 #462076 #712076
triadic
#462076 #764620 #207646
tetradic
#462076 #762025 #507620 #207671
square
#462076 #762025 #507620 #207671
split-complementary
#462076 #767120 #257620
monochromatic
#0E0718 #291346 #462076 #632DA6 #8044CC

Accessibility & contrast

On white

12.15
#462076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#462076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462076
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462076#FFFFFF#000000##FFFFFF
##4620761.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462076;
/* rgb */ color: rgb(70, 32, 118);
/* oklch */ color: oklch(34.8% 0.139 299.2);
Tailwind
colors: {
  custom: {
    50: '#7e5f9e',
    500: '#462076',
    950: '#000000',
  },
}
SCSS
$custom: #462076;
$custom-light: #7e5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#462076",
  "rgb": {
    "r": 70,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 266.512,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34775,
    "c": 0.1388,
    "h": 299.2
  },
  "luminance": 0.03643
}

Semantic roles & 50–950 ramp

primary
#462076
secondary
#7FA948
accent
#E1479D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462076

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

Preview Lab → · Contrast checker → · Palette generator →

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