#46229F#46229F

#46229F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.185 H 287.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#46229F
RGBrgb(70, 34, 159)
HSLhsl(257, 65%, 38%)
HSVhsv(257, 79%, 62%)
CMYKcmyk(56%, 78.6%, 0%, 37.6%)
CIE-LABlab(26.59, 47.27, -61.26)
CIE-LCHlch(26.59, 77.38, 307.66°)
OKLaboklab(38.85% 0.0556 -0.1763)
OKLCHoklch(38.85% 0.185 287.5)
XYZxyz(9.3540, 4.9489, 33.2565)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46229F #7B9F22
analogous
#223C9F #46229F #84229F
triadic
#46229F #9F4622 #229F46
tetradic
#46229F #9F223C #7B9F22 #229F84
square
#46229F #9F223C #7B9F22 #229F84
split-complementary
#46229F #9F8422 #3C9F22
monochromatic
#1A0C3A #30176D #46229F #5C2DD1 #835FDD

Accessibility & contrast

On white

10.55
#46229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#46229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46229F
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46229F#FFFFFF#000000##FFFFFF
##46229F1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#1F4660
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #46229f;
/* rgb */ color: rgb(70, 34, 159);
/* oklch */ color: oklch(38.8% 0.185 287.5);
Tailwind
colors: {
  custom: {
    50: '#8462bd',
    500: '#46229f',
    950: '#000000',
  },
}
SCSS
$custom: #46229f;
$custom-light: #8462bd;
$custom-dark: #000000;
JSON
{
  "hex": "#46229f",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 257.28,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38847,
    "c": 0.18485,
    "h": 287.5
  },
  "luminance": 0.04949
}

Semantic roles & 50–950 ramp

primary
#46229F
secondary
#A4C15B
accent
#E840B7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #46229F

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

Preview Lab → · Contrast checker → · Palette generator →

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