#46218A#46218A

#46218A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.161 H 292.7°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#46218A
RGBrgb(70, 33, 138)
HSLhsl(261, 61%, 34%)
HSVhsv(261, 76%, 54%)
CMYKcmyk(49.3%, 76.1%, 0%, 45.9%)
CIE-LABlab(24.40, 41.80, -51.91)
CIE-LCHlch(24.40, 66.65, 308.84°)
OKLaboklab(36.7% 0.0623 -0.1489)
OKLCHoklch(36.7% 0.161 292.7)
XYZxyz(7.6558, 4.2245, 24.4519)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46218A #658A21
analogous
#21308A #46218A #7A218A
triadic
#46218A #8A4621 #218A46
tetradic
#46218A #8A2130 #658A21 #218A7A
square
#46218A #8A2130 #658A21 #218A7A
split-complementary
#46218A #8A7A21 #308A21
monochromatic
#140927 #2D1559 #46218A #5F2DBB #7F50D5

Accessibility & contrast

On white

11.38
#46218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#46218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46218A
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46218A#FFFFFF#000000##FFFFFF
##46218A1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#313D54
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #46218a;
/* rgb */ color: rgb(70, 33, 138);
/* oklch */ color: oklch(36.7% 0.161 292.7);
Tailwind
colors: {
  custom: {
    50: '#8160ad',
    500: '#46218a',
    950: '#000000',
  },
}
SCSS
$custom: #46218a;
$custom-light: #8160ad;
$custom-dark: #000000;
JSON
{
  "hex": "#46218a",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 261.143,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.367,
    "c": 0.16142,
    "h": 292.7
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#46218A
secondary
#93B94E
accent
#E543AC
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #46218A

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

Preview Lab → · Contrast checker → · Palette generator →

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