#462182#462182

#462182 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.152 H 295.0°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#462182
RGBrgb(70, 33, 130)
HSLhsl(263, 60%, 32%)
HSVhsv(263, 75%, 51%)
CMYKcmyk(46.2%, 74.6%, 0%, 49%)
CIE-LABlab(23.68, 39.54, -48.08)
CIE-LCHlch(23.68, 62.25, 309.43°)
OKLaboklab(35.97% 0.0642 -0.1377)
OKLCHoklch(35.97% 0.152 295)
XYZxyz(7.0978, 4.0013, 21.5131)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462182 #5D8221
analogous
#212C82 #462182 #772182
triadic
#462182 #824621 #218246
tetradic
#462182 #82212C #5D8221 #218277
square
#462182 #82212C #5D8221 #218277
split-complementary
#462182 #827721 #2C8221
monochromatic
#110820 #2C1551 #462182 #602DB3 #7F4CD2

Accessibility & contrast

On white

11.66
#462182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#462182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462182
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462182#FFFFFF#000000##FFFFFF
##4621821.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#353A4F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #462182;
/* rgb */ color: rgb(70, 33, 130);
/* oklch */ color: oklch(36.0% 0.152 295.0);
Tailwind
colors: {
  custom: {
    50: '#8060a7',
    500: '#462182',
    950: '#000000',
  },
}
SCSS
$custom: #462182;
$custom-light: #8060a7;
$custom-dark: #000000;
JSON
{
  "hex": "#462182",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 262.887,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35965,
    "c": 0.15193,
    "h": 295
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

primary
#462182
secondary
#8CB44A
accent
#E345A7
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #462182

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

Preview Lab → · Contrast checker → · Palette generator →

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