#46229E#46229E

#46229E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.184 H 287.7°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#46229E
RGBrgb(70, 34, 158)
HSLhsl(257, 65%, 38%)
HSVhsv(257, 78%, 62%)
CMYKcmyk(55.7%, 78.5%, 0%, 38%)
CIE-LABlab(26.49, 46.99, -60.82)
CIE-LCHlch(26.49, 76.85, 307.69°)
OKLaboklab(38.75% 0.0559 -0.175)
OKLCHoklch(38.75% 0.184 287.7)
XYZxyz(9.2675, 4.9143, 32.8013)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46229E #7A9E22
analogous
#223C9E #46229E #84229E
triadic
#46229E #9E4622 #229E46
tetradic
#46229E #9E223C #7A9E22 #229E84
square
#46229E #9E223C #7A9E22 #229E84
split-complementary
#46229E #9E8422 #3C9E22
monochromatic
#190C39 #30176C #46229E #5C2DD0 #835EDC

Accessibility & contrast

On white

10.59
#46229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#46229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46229E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46229E#FFFFFF#000000##FFFFFF
##46229E1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#20465F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #46229e;
/* rgb */ color: rgb(70, 34, 158);
/* oklch */ color: oklch(38.7% 0.184 287.7);
Tailwind
colors: {
  custom: {
    50: '#8462bc',
    500: '#46229e',
    950: '#000000',
  },
}
SCSS
$custom: #46229e;
$custom-light: #8462bc;
$custom-dark: #000000;
JSON
{
  "hex": "#46229e",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 257.419,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38748,
    "c": 0.18371,
    "h": 287.7
  },
  "luminance": 0.04915
}

Semantic roles & 50–950 ramp

primary
#46229E
secondary
#A3C15B
accent
#E840B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #46229E

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

Preview Lab → · Contrast checker → · Palette generator →

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