#46229C#46229C

#46229C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.181 H 288.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#46229C
RGBrgb(70, 34, 156)
HSLhsl(258, 64%, 37%)
HSVhsv(258, 78%, 61%)
CMYKcmyk(55.1%, 78.2%, 0%, 38.8%)
CIE-LABlab(26.29, 46.42, -59.92)
CIE-LCHlch(26.29, 75.80, 307.77°)
OKLaboklab(38.55% 0.0565 -0.1724)
OKLCHoklch(38.55% 0.181 288.1)
XYZxyz(9.0968, 4.8460, 31.9021)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46229C #789C22
analogous
#223B9C #46229C #83229C
triadic
#46229C #9C4622 #229C46
tetradic
#46229C #9C223B #789C22 #229C83
square
#46229C #9C223B #789C22 #229C83
split-complementary
#46229C #9C8322 #3B9C22
monochromatic
#190C38 #2F176A #46229C #5D2DCE #825DDC

Accessibility & contrast

On white

10.66
#46229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#46229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46229C
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46229C#FFFFFF#000000##FFFFFF
##46229C1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#22455E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #46229c;
/* rgb */ color: rgb(70, 34, 156);
/* oklch */ color: oklch(38.6% 0.181 288.1);
Tailwind
colors: {
  custom: {
    50: '#8362ba',
    500: '#46229c',
    950: '#000000',
  },
}
SCSS
$custom: #46229c;
$custom-light: #8362ba;
$custom-dark: #000000;
JSON
{
  "hex": "#46229c",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 257.705,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3855,
    "c": 0.1814,
    "h": 288.1
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

primary
#46229C
secondary
#A2C05A
accent
#E741B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #46229C

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

Preview Lab → · Contrast checker → · Palette generator →

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