#462776#462776

#462776 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.8% C 0.129 H 297.5°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#462776
RGBrgb(70, 39, 118)
HSLhsl(264, 50%, 31%)
HSVhsv(264, 67%, 46%)
CMYKcmyk(40.7%, 66.9%, 0%, 53.7%)
CIE-LABlab(23.87, 32.82, -40.15)
CIE-LCHlch(23.87, 51.86, 309.26°)
OKLaboklab(35.79% 0.0596 -0.1144)
OKLCHoklch(35.79% 0.129 297.5)
XYZxyz(6.5205, 4.0610, 17.5763)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462776 #577627
analogous
#273076 #462776 #6D2776
triadic
#462776 #764627 #277646
tetradic
#462776 #762730 #577627 #27766D
square
#462776 #762730 #577627 #27766D
split-complementary
#462776 #766D27 #307627
monochromatic
#0F091A #2B1848 #462776 #6136A4 #7F52C6

Accessibility & contrast

On white

11.59
#462776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#462776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462776
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462776#FFFFFF#000000##FFFFFF
##4627761.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003874
Tritanopia (blue-blind)
#3A394A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #462776;
/* rgb */ color: rgb(70, 39, 118);
/* oklch */ color: oklch(35.8% 0.129 297.5);
Tailwind
colors: {
  custom: {
    50: '#7e639e',
    500: '#462776',
    950: '#000000',
  },
}
SCSS
$custom: #462776;
$custom-light: #7e639e;
$custom-dark: #000000;
JSON
{
  "hex": "#462776",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 118
  },
  "hsl": {
    "h": 263.544,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35793,
    "c": 0.129,
    "h": 297.5
  },
  "luminance": 0.04061
}

Semantic roles & 50–950 ramp

primary
#462776
secondary
#86A851
accent
#DA4EA3
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #462776

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

Preview Lab → · Contrast checker → · Palette generator →

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