#46218E#46218E

#46218E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.166 H 291.6°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#46218E
RGBrgb(70, 33, 142)
HSLhsl(260, 62%, 34%)
HSVhsv(260, 77%, 56%)
CMYKcmyk(50.7%, 76.8%, 0%, 44.3%)
CIE-LABlab(24.77, 42.93, -53.79)
CIE-LCHlch(24.77, 68.82, 308.59°)
OKLaboklab(37.08% 0.0612 -0.1544)
OKLCHoklch(37.08% 0.166 291.6)
XYZxyz(7.9507, 4.3425, 26.0052)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46218E #698E21
analogous
#21338E #46218E #7D218E
triadic
#46218E #8E4621 #218E46
tetradic
#46218E #8E2133 #698E21 #218E7D
square
#46218E #8E2133 #698E21 #218E7D
split-complementary
#46218E #8E7D21 #338E21
monochromatic
#150A2B #2E155C #46218E #5E2DC0 #7F52D7

Accessibility & contrast

On white

11.24
#46218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#46218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46218E
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46218E#FFFFFF#000000##FFFFFF
##46218E1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#2E3F56
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #46218e;
/* rgb */ color: rgb(70, 33, 142);
/* oklch */ color: oklch(37.1% 0.166 291.6);
Tailwind
colors: {
  custom: {
    50: '#8160b0',
    500: '#46218e',
    950: '#000000',
  },
}
SCSS
$custom: #46218e;
$custom-light: #8160b0;
$custom-dark: #000000;
JSON
{
  "hex": "#46218e",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 260.367,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37076,
    "c": 0.16612,
    "h": 291.6
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

primary
#46218E
secondary
#96BA50
accent
#E542AE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #46218E

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

Preview Lab → · Contrast checker → · Palette generator →

#46218E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva