#462164#462164

#462164 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.5% C 0.115 H 306.6°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#462164
RGBrgb(70, 33, 100)
HSLhsl(273, 50%, 26%)
HSVhsv(273, 67%, 39%)
CMYKcmyk(30%, 67%, 0%, 60.8%)
CIE-LABlab(21.24, 31.31, -32.75)
CIE-LCHlch(21.24, 45.31, 313.71°)
OKLaboklab(33.46% 0.0688 -0.0926)
OKLCHoklch(33.46% 0.115 306.6)
XYZxyz(5.3694, 3.3100, 12.4101)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462164 #3F6421
analogous
#242164 #462164 #642160
triadic
#462164 #644621 #216446
tetradic
#462164 #642421 #3F6421 #216064
square
#462164 #642421 #3F6421 #216064
split-complementary
#462164 #606421 #216424
monochromatic
#100817 #261236 #462164 #663092 #8640C0

Accessibility & contrast

On white

12.64
#462164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#462164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462164
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462164#FFFFFF#000000##FFFFFF
##4621641.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003266
Deuteranopia (green-blind)
#133362
Tritanopia (blue-blind)
#412F3F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #462164;
/* rgb */ color: rgb(70, 33, 100);
/* oklch */ color: oklch(33.5% 0.115 306.6);
Tailwind
colors: {
  custom: {
    50: '#7c5f91',
    500: '#462164',
    950: '#000000',
  },
}
SCSS
$custom: #462164;
$custom-light: #7c5f91;
$custom-dark: #000000;
JSON
{
  "hex": "#462164",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 273.134,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33462,
    "c": 0.11537,
    "h": 306.6
  },
  "luminance": 0.0331
}

Semantic roles & 50–950 ramp

primary
#462164
secondary
#6C9849
accent
#DA4E8D
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040D
muted
#7C797D

Preview Lab

Preview with #462164

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

Preview Lab → · Contrast checker → · Palette generator →

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