#46229D#46229D

#46229D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.183 H 287.9°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#46229D
RGBrgb(70, 34, 157)
HSLhsl(258, 64%, 37%)
HSVhsv(258, 78%, 62%)
CMYKcmyk(55.4%, 78.3%, 0%, 38.4%)
CIE-LABlab(26.39, 46.70, -60.37)
CIE-LCHlch(26.39, 76.33, 307.73°)
OKLaboklab(38.65% 0.0562 -0.1737)
OKLCHoklch(38.65% 0.183 287.9)
XYZxyz(9.1818, 4.8800, 32.3499)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46229D #799D22
analogous
#223B9D #46229D #84229D
triadic
#46229D #9D4622 #229D46
tetradic
#46229D #9D223B #799D22 #229D84
square
#46229D #9D223B #799D22 #229D84
split-complementary
#46229D #9D8422 #3B9D22
monochromatic
#190C38 #30176B #46229D #5C2DCF #825DDC

Accessibility & contrast

On white

10.63
#46229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46229D
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46229D#FFFFFF#000000##FFFFFF
##46229D1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#21455F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #46229d;
/* rgb */ color: rgb(70, 34, 157);
/* oklch */ color: oklch(38.6% 0.183 287.9);
Tailwind
colors: {
  custom: {
    50: '#8462bb',
    500: '#46229d',
    950: '#000000',
  },
}
SCSS
$custom: #46229d;
$custom-light: #8462bb;
$custom-dark: #000000;
JSON
{
  "hex": "#46229d",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 257.561,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38649,
    "c": 0.18255,
    "h": 287.9
  },
  "luminance": 0.0488
}

Semantic roles & 50–950 ramp

primary
#46229D
secondary
#A3C15A
accent
#E740B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #46229D

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

Preview Lab → · Contrast checker → · Palette generator →

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