#462382#462382

#462382 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.149 H 294.6°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#462382
RGBrgb(70, 35, 130)
HSLhsl(262, 58%, 32%)
HSVhsv(262, 73%, 51%)
CMYKcmyk(46.2%, 73.1%, 0%, 49%)
CIE-LABlab(24.05, 38.49, -47.47)
CIE-LCHlch(24.05, 61.11, 309.04°)
OKLaboklab(36.23% 0.0622 -0.1359)
OKLCHoklch(36.23% 0.149 294.6)
XYZxyz(7.1550, 4.1157, 21.5322)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462382 #5F8223
analogous
#233082 #462382 #752382
triadic
#462382 #824623 #238246
tetradic
#462382 #822330 #5F8223 #238275
square
#462382 #822330 #5F8223 #238275
split-complementary
#462382 #827523 #308223
monochromatic
#120922 #2C1652 #462382 #6030B2 #7F50D0

Accessibility & contrast

On white

11.52
#462382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#462382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462382
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462382#FFFFFF#000000##FFFFFF
##4623821.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#353B50
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #462382;
/* rgb */ color: rgb(70, 35, 130);
/* oklch */ color: oklch(36.2% 0.149 294.6);
Tailwind
colors: {
  custom: {
    50: '#7f61a7',
    500: '#462382',
    950: '#000000',
  },
}
SCSS
$custom: #462382;
$custom-light: #7f61a7;
$custom-dark: #000000;
JSON
{
  "hex": "#462382",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 262.105,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36231,
    "c": 0.14946,
    "h": 294.6
  },
  "luminance": 0.04116
}

Semantic roles & 50–950 ramp

primary
#462382
secondary
#8EB34D
accent
#E147A8
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #462382

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

Preview Lab → · Contrast checker → · Palette generator →

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