#46218B#46218B

#46218B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.163 H 292.4°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#46218B
RGBrgb(70, 33, 139)
HSLhsl(261, 62%, 34%)
HSVhsv(261, 76%, 55%)
CMYKcmyk(49.6%, 76.3%, 0%, 45.5%)
CIE-LABlab(24.49, 42.08, -52.38)
CIE-LCHlch(24.49, 67.19, 308.77°)
OKLaboklab(36.79% 0.062 -0.1503)
OKLCHoklch(36.79% 0.163 292.4)
XYZxyz(7.7285, 4.2536, 24.8349)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46218B #668B21
analogous
#21318B #46218B #7B218B
triadic
#46218B #8B4621 #218B46
tetradic
#46218B #8B2131 #668B21 #218B7B
square
#46218B #8B2131 #668B21 #218B7B
split-complementary
#46218B #8B7B21 #318B21
monochromatic
#140A28 #2D155A #46218B #5F2DBC #7F51D6

Accessibility & contrast

On white

11.35
#46218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46218B
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46218B#FFFFFF#000000##FFFFFF
##46218B1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#303E54
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #46218b;
/* rgb */ color: rgb(70, 33, 139);
/* oklch */ color: oklch(36.8% 0.163 292.4);
Tailwind
colors: {
  custom: {
    50: '#8160ae',
    500: '#46218b',
    950: '#000000',
  },
}
SCSS
$custom: #46218b;
$custom-light: #8160ae;
$custom-dark: #000000;
JSON
{
  "hex": "#46218b",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 260.943,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36793,
    "c": 0.16259,
    "h": 292.4
  },
  "luminance": 0.04254
}

Semantic roles & 50–950 ramp

primary
#46218B
secondary
#94B94F
accent
#E543AC
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #46218B

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

Preview Lab → · Contrast checker → · Palette generator →

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