#462884#462884

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

Color values

HEX#462884
RGBrgb(70, 40, 132)
HSLhsl(260, 53%, 34%)
HSVhsv(260, 70%, 52%)
CMYKcmyk(47%, 69.7%, 0%, 48.2%)
CIE-LABlab(25.22, 36.31, -46.83)
CIE-LCHlch(25.22, 59.26, 307.79°)
OKLaboklab(37.12% 0.0566 -0.134)
OKLCHoklch(37.12% 0.146 292.9)
XYZxyz(7.4483, 4.4854, 22.2986)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462884 #668428
analogous
#283884 #462884 #742884
triadic
#462884 #844628 #288446
tetradic
#462884 #842838 #668428 #288474
square
#462884 #842838 #668428 #288474
split-complementary
#462884 #847428 #388428
monochromatic
#140C26 #2D1A55 #462884 #5F36B3 #7F5ACD

Accessibility & contrast

On white

11.07
#462884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#462884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462884
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462884#FFFFFF#000000##FFFFFF
##4628841.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#343F52
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462884;
/* rgb */ color: rgb(70, 40, 132);
/* oklch */ color: oklch(37.1% 0.145 292.9);
Tailwind
colors: {
  custom: {
    50: '#7f64a9',
    500: '#462884',
    950: '#000000',
  },
}
SCSS
$custom: #462884;
$custom-light: #7f64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#462884",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 259.565,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37116,
    "c": 0.1455,
    "h": 292.9
  },
  "luminance": 0.04486
}

Semantic roles & 50–950 ramp

primary
#462884
secondary
#94B256
accent
#DD4BAD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #462884

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

Preview Lab → · Contrast checker → · Palette generator →

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