#462180#462180

#462180 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.150 H 295.6°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#462180
RGBrgb(70, 33, 128)
HSLhsl(263, 59%, 32%)
HSVhsv(263, 74%, 50%)
CMYKcmyk(45.3%, 74.2%, 0%, 49.8%)
CIE-LABlab(23.50, 38.98, -47.11)
CIE-LCHlch(23.50, 61.14, 309.60°)
OKLaboklab(35.78% 0.0647 -0.1348)
OKLCHoklch(35.78% 0.15 295.6)
XYZxyz(6.9649, 3.9482, 20.8130)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462180 #5B8021
analogous
#212C80 #462180 #762180
triadic
#462180 #804621 #218046
tetradic
#462180 #80212C #5B8021 #218076
square
#462180 #80212C #5B8021 #218076
split-complementary
#462180 #807621 #2C8021
monochromatic
#11081F #2B144F #462180 #612EB1 #7F4BD1

Accessibility & contrast

On white

11.73
#462180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#462180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462180
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462180#FFFFFF#000000##FFFFFF
##4621801.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#36394E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #462180;
/* rgb */ color: rgb(70, 33, 128);
/* oklch */ color: oklch(35.8% 0.150 295.6);
Tailwind
colors: {
  custom: {
    50: '#7f60a6',
    500: '#462180',
    950: '#000000',
  },
}
SCSS
$custom: #462180;
$custom-light: #7f60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#462180",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 263.368,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35785,
    "c": 0.14953,
    "h": 295.6
  },
  "luminance": 0.03948
}

Semantic roles & 50–950 ramp

primary
#462180
secondary
#8AB34A
accent
#E246A5
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #462180

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

Preview Lab → · Contrast checker → · Palette generator →

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