#462A80#462A80

#462A80 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.1% C 0.138 H 293.5°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#462A80
RGBrgb(70, 42, 128)
HSLhsl(260, 51%, 33%)
HSVhsv(260, 67%, 50%)
CMYKcmyk(45.3%, 67.2%, 0%, 49.8%)
CIE-LABlab(25.31, 33.98, -44.16)
CIE-LCHlch(25.31, 55.72, 307.58°)
OKLaboklab(37.08% 0.055 -0.1262)
OKLCHoklch(37.08% 0.138 293.5)
XYZxyz(7.2490, 4.5163, 20.9077)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462A80 #64802A
analogous
#2A3980 #462A80 #712A80
triadic
#462A80 #80462A #2A8046
tetradic
#462A80 #802A39 #64802A #2A8071
square
#462A80 #802A39 #64802A #2A8071
split-complementary
#462A80 #80712A #39802A
monochromatic
#140C24 #2D1B52 #462A80 #5F39AE #7F5BC9

Accessibility & contrast

On white

11.03
#462A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#462A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462A80
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462A80#FFFFFF#000000##FFFFFF
##462A801.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462a80;
/* rgb */ color: rgb(70, 42, 128);
/* oklch */ color: oklch(37.1% 0.138 293.5);
Tailwind
colors: {
  custom: {
    50: '#7f65a6',
    500: '#462a80',
    950: '#000000',
  },
}
SCSS
$custom: #462a80;
$custom-light: #7f65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#462a80",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 259.535,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37081,
    "c": 0.13764,
    "h": 293.5
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#462A80
secondary
#92AF57
accent
#DA4EAC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #462A80

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

Preview Lab → · Contrast checker → · Palette generator →

#462A80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva