#462162#462162

#462162 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.3% C 0.113 H 307.6°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#462162
RGBrgb(70, 33, 98)
HSLhsl(274, 50%, 26%)
HSVhsv(274, 66%, 38%)
CMYKcmyk(28.6%, 66.3%, 0%, 61.6%)
CIE-LABlab(21.10, 30.79, -31.67)
CIE-LCHlch(21.10, 44.17, 314.19°)
OKLaboklab(33.31% 0.0689 -0.0895)
OKLCHoklch(33.31% 0.113 307.6)
XYZxyz(5.2738, 3.2717, 11.9066)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462162 #3D6221
analogous
#252162 #462162 #62215D
triadic
#462162 #624621 #216246
tetradic
#462162 #622521 #3D6221 #215D62
square
#462162 #622521 #3D6221 #215D62
split-complementary
#462162 #5D6221 #216225
monochromatic
#100817 #251234 #462162 #673090 #8740BE

Accessibility & contrast

On white

12.69
#462162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462162
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462162#FFFFFF#000000##FFFFFF
##4621621.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013164
Deuteranopia (green-blind)
#153361
Tritanopia (blue-blind)
#422E3E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #462162;
/* rgb */ color: rgb(70, 33, 98);
/* oklch */ color: oklch(33.3% 0.113 307.6);
Tailwind
colors: {
  custom: {
    50: '#7c5f8f',
    500: '#462162',
    950: '#000000',
  },
}
SCSS
$custom: #462162;
$custom-light: #7c5f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#462162",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 274.154,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33311,
    "c": 0.11289,
    "h": 307.6
  },
  "luminance": 0.03272
}

Semantic roles & 50–950 ramp

primary
#462162
secondary
#6A9649
accent
#D94F8A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #462162

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

Preview Lab → · Contrast checker → · Palette generator →

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