#46226A#46226A

#46226A is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.1% C 0.121 H 303.6°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#46226A
RGBrgb(70, 34, 106)
HSLhsl(270, 51%, 27%)
HSVhsv(270, 68%, 42%)
CMYKcmyk(34%, 67.9%, 0%, 58.4%)
CIE-LABlab(21.90, 32.35, -35.62)
CIE-LCHlch(21.90, 48.12, 312.24°)
OKLaboklab(34.07% 0.067 -0.1011)
OKLCHoklch(34.07% 0.121 303.6)
XYZxyz(5.6987, 3.4868, 14.0057)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46226A #466A22
analogous
#22226A #46226A #6A226A
triadic
#46226A #6A4622 #226A46
tetradic
#46226A #6A2222 #466A22 #226A6A
square
#46226A #6A2222 #466A22 #226A6A
split-complementary
#46226A #6A6A22 #226A22
monochromatic
#0F0717 #27133C #46226A #653198 #8344C3

Accessibility & contrast

On white

12.37
#46226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#46226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46226A
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46226A#FFFFFF#000000##FFFFFF
##46226A1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#0B3468
Tritanopia (blue-blind)
#3F3242
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #46226a;
/* rgb */ color: rgb(70, 34, 106);
/* oklch */ color: oklch(34.1% 0.121 303.6);
Tailwind
colors: {
  custom: {
    50: '#7d5f95',
    500: '#46226a',
    950: '#000000',
  },
}
SCSS
$custom: #46226a;
$custom-light: #7d5f95;
$custom-dark: #000000;
JSON
{
  "hex": "#46226a",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 270,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34074,
    "c": 0.12126,
    "h": 303.6
  },
  "luminance": 0.03487
}

Semantic roles & 50–950 ramp

primary
#46226A
secondary
#749E4A
accent
#DB4D94
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #46226A

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

Preview Lab → · Contrast checker → · Palette generator →

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