#46228E#46228E

#46228E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.165 H 291.5°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#46228E
RGBrgb(70, 34, 142)
HSLhsl(260, 61%, 35%)
HSVhsv(260, 76%, 56%)
CMYKcmyk(50.7%, 76.1%, 0%, 44.3%)
CIE-LABlab(24.95, 42.43, -53.50)
CIE-LCHlch(24.95, 68.28, 308.42°)
OKLaboklab(37.2% 0.0604 -0.1536)
OKLCHoklch(37.2% 0.165 291.5)
XYZxyz(7.9789, 4.3988, 26.0146)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46228E #6A8E22
analogous
#22348E #46228E #7C228E
triadic
#46228E #8E4622 #228E46
tetradic
#46228E #8E2234 #6A8E22 #228E7C
square
#46228E #8E2234 #6A8E22 #228E7C
split-complementary
#46228E #8E7C22 #348E22
monochromatic
#150A2B #2E165D #46228E #5E2EBF #8054D6

Accessibility & contrast

On white

11.17
#46228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#46228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46228E
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46228E#FFFFFF#000000##FFFFFF
##46228E1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #46228e;
/* rgb */ color: rgb(70, 34, 142);
/* oklch */ color: oklch(37.2% 0.165 291.5);
Tailwind
colors: {
  custom: {
    50: '#8161b0',
    500: '#46228e',
    950: '#000000',
  },
}
SCSS
$custom: #46228e;
$custom-light: #8161b0;
$custom-dark: #000000;
JSON
{
  "hex": "#46228e",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 260,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.372,
    "c": 0.16502,
    "h": 291.5
  },
  "luminance": 0.04399
}

Semantic roles & 50–950 ramp

primary
#46228E
secondary
#97BA52
accent
#E443AF
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #46228E

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

Preview Lab → · Contrast checker → · Palette generator →

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