#462980#462980

#462980 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.139 H 293.8°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#462980
RGBrgb(70, 41, 128)
HSLhsl(260, 51%, 33%)
HSVhsv(260, 68%, 50%)
CMYKcmyk(45.3%, 68%, 0%, 49.8%)
CIE-LABlab(25.10, 34.56, -44.51)
CIE-LCHlch(25.10, 56.35, 307.83°)
OKLaboklab(36.93% 0.0561 -0.1272)
OKLCHoklch(36.93% 0.139 293.8)
XYZxyz(7.2140, 4.4463, 20.8960)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462980 #638029
analogous
#293780 #462980 #712980
triadic
#462980 #804629 #298046
tetradic
#462980 #802937 #638029 #298071
square
#462980 #802937 #638029 #298071
split-complementary
#462980 #807129 #378029
monochromatic
#130B23 #2D1A52 #462980 #5F38AE #7F59CA

Accessibility & contrast

On white

11.12
#462980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462980
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462980#FFFFFF#000000##FFFFFF
##4629801.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462980;
/* rgb */ color: rgb(70, 41, 128);
/* oklch */ color: oklch(36.9% 0.139 293.8);
Tailwind
colors: {
  custom: {
    50: '#7f65a6',
    500: '#462980',
    950: '#000000',
  },
}
SCSS
$custom: #462980;
$custom-light: #7f65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#462980",
  "rgb": {
    "r": 70,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 260,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36926,
    "c": 0.13903,
    "h": 293.8
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#462980
secondary
#91AF55
accent
#DB4DAC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #462980

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

Preview Lab → · Contrast checker → · Palette generator →

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