#462082#462082

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

Color values

HEX#462082
RGBrgb(70, 32, 130)
HSLhsl(263, 60%, 32%)
HSVhsv(263, 75%, 51%)
CMYKcmyk(46.2%, 75.4%, 0%, 49%)
CIE-LABlab(23.49, 40.05, -48.38)
CIE-LCHlch(23.49, 62.80, 309.62°)
OKLaboklab(35.84% 0.0652 -0.1385)
OKLCHoklch(35.84% 0.153 295.2)
XYZxyz(7.0705, 3.9466, 21.5040)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462082 #5C8220
analogous
#202B82 #462082 #772082
triadic
#462082 #824620 #208246
tetradic
#462082 #82202B #5C8220 #208277
square
#462082 #82202B #5C8220 #208277
split-complementary
#462082 #827720 #2B8220
monochromatic
#110820 #2C1451 #462082 #602CB3 #7F4AD2

Accessibility & contrast

On white

11.74
#462082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462082
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462082#FFFFFF#000000##FFFFFF
##4620821.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#35394F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #462082;
/* rgb */ color: rgb(70, 32, 130);
/* oklch */ color: oklch(35.8% 0.153 295.2);
Tailwind
colors: {
  custom: {
    50: '#805fa7',
    500: '#462082',
    950: '#000000',
  },
}
SCSS
$custom: #462082;
$custom-light: #805fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#462082",
  "rgb": {
    "r": 70,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 263.265,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35837,
    "c": 0.15312,
    "h": 295.2
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#462082
secondary
#8BB549
accent
#E444A6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #462082

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

Preview Lab → · Contrast checker → · Palette generator →

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