#462160#462160

#462160 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.2% C 0.110 H 308.6°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#462160
RGBrgb(70, 33, 96)
HSLhsl(275, 49%, 25%)
HSVhsv(275, 66%, 38%)
CMYKcmyk(27.1%, 65.6%, 0%, 62.4%)
CIE-LABlab(20.96, 30.27, -30.58)
CIE-LCHlch(20.96, 43.03, 314.70°)
OKLaboklab(33.16% 0.0689 -0.0863)
OKLCHoklch(33.16% 0.11 308.6)
XYZxyz(5.1805, 3.2344, 11.4155)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462160 #3B6021
analogous
#262160 #462160 #60215A
triadic
#462160 #604621 #216046
tetradic
#462160 #602621 #3B6021 #215A60
square
#462160 #602621 #3B6021 #215A60
split-complementary
#462160 #5A6021 #216026
monochromatic
#110817 #251132 #462160 #67318E #8840BB

Accessibility & contrast

On white

12.75
#462160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#462160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462160
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462160#FFFFFF#000000##FFFFFF
##4621601.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053162
Deuteranopia (green-blind)
#18335F
Tritanopia (blue-blind)
#422D3D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #462160;
/* rgb */ color: rgb(70, 33, 96);
/* oklch */ color: oklch(33.2% 0.110 308.6);
Tailwind
colors: {
  custom: {
    50: '#7c5f8d',
    500: '#462160',
    950: '#000000',
  },
}
SCSS
$custom: #462160;
$custom-light: #7c5f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#462160",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 275.238,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33163,
    "c": 0.11042,
    "h": 308.6
  },
  "luminance": 0.03234
}

Semantic roles & 50–950 ramp

primary
#462160
secondary
#689449
accent
#D84F88
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #462160

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

Preview Lab → · Contrast checker → · Palette generator →

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