#462880#462880

#462880 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.140 H 294.1°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#462880
RGBrgb(70, 40, 128)
HSLhsl(260, 52%, 33%)
HSVhsv(260, 69%, 50%)
CMYKcmyk(45.3%, 68.8%, 0%, 49.8%)
CIE-LABlab(24.88, 35.14, -44.85)
CIE-LCHlch(24.88, 56.98, 308.08°)
OKLaboklab(36.77% 0.0572 -0.1282)
OKLCHoklch(36.77% 0.14 294.1)
XYZxyz(7.1798, 4.3780, 20.8846)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462880 #628028
analogous
#283680 #462880 #722880
triadic
#462880 #804628 #288046
tetradic
#462880 #802836 #628028 #288072
square
#462880 #802836 #628028 #288072
split-complementary
#462880 #807228 #368028
monochromatic
#130B23 #2D1951 #462880 #6037AF #7F58CB

Accessibility & contrast

On white

11.20
#462880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#462880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462880
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462880#FFFFFF#000000##FFFFFF
##4628801.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#363D50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #462880;
/* rgb */ color: rgb(70, 40, 128);
/* oklch */ color: oklch(36.8% 0.140 294.1);
Tailwind
colors: {
  custom: {
    50: '#7f64a6',
    500: '#462880',
    950: '#000000',
  },
}
SCSS
$custom: #462880;
$custom-light: #7f64a6;
$custom-dark: #000000;
JSON
{
  "hex": "#462880",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 128
  },
  "hsl": {
    "h": 260.455,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36774,
    "c": 0.14041,
    "h": 294.1
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#462880
secondary
#90B054
accent
#DC4CAB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #462880

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

Preview Lab → · Contrast checker → · Palette generator →

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