#46218D#46218D

#46218D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.165 H 291.9°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#46218D
RGBrgb(70, 33, 141)
HSLhsl(261, 62%, 34%)
HSVhsv(261, 77%, 55%)
CMYKcmyk(50.4%, 76.6%, 0%, 44.7%)
CIE-LABlab(24.68, 42.64, -53.32)
CIE-LCHlch(24.68, 68.28, 308.65°)
OKLaboklab(36.98% 0.0615 -0.1531)
OKLCHoklch(36.98% 0.165 291.9)
XYZxyz(7.8760, 4.3126, 25.6116)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46218D #688D21
analogous
#21328D #46218D #7C218D
triadic
#46218D #8D4621 #218D46
tetradic
#46218D #8D2132 #688D21 #218D7C
square
#46218D #8D2132 #688D21 #218D7C
split-complementary
#46218D #8D7C21 #328D21
monochromatic
#150A2A #2D155B #46218D #5F2DBF #7F52D6

Accessibility & contrast

On white

11.27
#46218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#46218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46218D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46218D#FFFFFF#000000##FFFFFF
##46218D1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#2F3E55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #46218d;
/* rgb */ color: rgb(70, 33, 141);
/* oklch */ color: oklch(37.0% 0.165 291.9);
Tailwind
colors: {
  custom: {
    50: '#8160af',
    500: '#46218d',
    950: '#000000',
  },
}
SCSS
$custom: #46218d;
$custom-light: #8160af;
$custom-dark: #000000;
JSON
{
  "hex": "#46218d",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 260.556,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36982,
    "c": 0.16495,
    "h": 291.9
  },
  "luminance": 0.04313
}

Semantic roles & 50–950 ramp

primary
#46218D
secondary
#96BA50
accent
#E543AD
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #46218D

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

Preview Lab → · Contrast checker → · Palette generator →

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