#46228D#46228D

#46228D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.164 H 291.7°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#46228D
RGBrgb(70, 34, 141)
HSLhsl(260, 61%, 34%)
HSVhsv(260, 76%, 55%)
CMYKcmyk(50.4%, 75.9%, 0%, 44.7%)
CIE-LABlab(24.86, 42.14, -53.03)
CIE-LCHlch(24.86, 67.74, 308.47°)
OKLaboklab(37.11% 0.0606 -0.1522)
OKLCHoklch(37.11% 0.164 291.7)
XYZxyz(7.9042, 4.3689, 25.6210)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46228D #698D22
analogous
#22348D #46228D #7C228D
triadic
#46228D #8D4622 #228D46
tetradic
#46228D #8D2234 #698D22 #228D7C
square
#46228D #8D2234 #698D22 #228D7C
split-complementary
#46228D #8D7C22 #348D22
monochromatic
#150A2A #2E165C #46228D #5E2EBE #7F54D6

Accessibility & contrast

On white

11.21
#46228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#46228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46228D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46228D#FFFFFF#000000##FFFFFF
##46228D1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#2F3F56
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #46228d;
/* rgb */ color: rgb(70, 34, 141);
/* oklch */ color: oklch(37.1% 0.164 291.7);
Tailwind
colors: {
  custom: {
    50: '#8161af',
    500: '#46228d',
    950: '#000000',
  },
}
SCSS
$custom: #46228d;
$custom-light: #8161af;
$custom-dark: #000000;
JSON
{
  "hex": "#46228d",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 260.187,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37106,
    "c": 0.16384,
    "h": 291.7
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

primary
#46228D
secondary
#96B951
accent
#E444AE
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #46228D

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

Preview Lab → · Contrast checker → · Palette generator →

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