#462786#462786

#462786 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.1% C 0.149 H 292.6°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#462786
RGBrgb(70, 39, 134)
HSLhsl(260, 55%, 34%)
HSVhsv(260, 71%, 53%)
CMYKcmyk(47.8%, 70.9%, 0%, 47.5%)
CIE-LABlab(25.18, 37.46, -48.14)
CIE-LCHlch(25.18, 61.00, 307.89°)
OKLaboklab(37.14% 0.0574 -0.1379)
OKLCHoklch(37.14% 0.149 292.6)
XYZxyz(7.5532, 4.4741, 23.0153)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462786 #678627
analogous
#273886 #462786 #762786
triadic
#462786 #864627 #278646
tetradic
#462786 #862738 #678627 #278676
square
#462786 #862738 #678627 #278676
split-complementary
#462786 #867627 #388627
monochromatic
#140B27 #2D1957 #462786 #5F35B5 #7F59CF

Accessibility & contrast

On white

11.08
#462786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#462786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462786
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462786#FFFFFF#000000##FFFFFF
##4627861.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#333F53
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462786;
/* rgb */ color: rgb(70, 39, 134);
/* oklch */ color: oklch(37.1% 0.149 292.6);
Tailwind
colors: {
  custom: {
    50: '#8064aa',
    500: '#462786',
    950: '#000000',
  },
}
SCSS
$custom: #462786;
$custom-light: #8064aa;
$custom-dark: #000000;
JSON
{
  "hex": "#462786",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 259.579,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37144,
    "c": 0.14932,
    "h": 292.6
  },
  "luminance": 0.04474
}

Semantic roles & 50–950 ramp

primary
#462786
secondary
#95B455
accent
#DE4AAE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #462786

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

Preview Lab → · Contrast checker → · Palette generator →

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