#46229A#46229A

#46229A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.179 H 288.6°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#46229A
RGBrgb(70, 34, 154)
HSLhsl(258, 64%, 37%)
HSVhsv(258, 78%, 60%)
CMYKcmyk(54.5%, 77.9%, 0%, 39.6%)
CIE-LABlab(26.09, 45.85, -59.02)
CIE-LCHlch(26.09, 74.74, 307.84°)
OKLaboklab(38.35% 0.057 -0.1698)
OKLCHoklch(38.35% 0.179 288.6)
XYZxyz(8.9288, 4.7788, 31.0175)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46229A #769A22
analogous
#223A9A #46229A #82229A
triadic
#46229A #9A4622 #229A46
tetradic
#46229A #9A223A #769A22 #229A82
square
#46229A #9A223A #769A22 #229A82
split-complementary
#46229A #9A8222 #3A9A22
monochromatic
#180C36 #2F1768 #46229A #5D2DCC #825BDB

Accessibility & contrast

On white

10.74
#46229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#46229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46229A
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46229A#FFFFFF#000000##FFFFFF
##46229A1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#24445D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #46229a;
/* rgb */ color: rgb(70, 34, 154);
/* oklch */ color: oklch(38.4% 0.179 288.6);
Tailwind
colors: {
  custom: {
    50: '#8362b9',
    500: '#46229a',
    950: '#000000',
  },
}
SCSS
$custom: #46229a;
$custom-light: #8362b9;
$custom-dark: #000000;
JSON
{
  "hex": "#46229a",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 258,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38354,
    "c": 0.17907,
    "h": 288.6
  },
  "luminance": 0.04779
}

Semantic roles & 50–950 ramp

primary
#46229A
secondary
#A0BF58
accent
#E741B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #46229A

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

Preview Lab → · Contrast checker → · Palette generator →

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