#46229B#46229B

#46229B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.180 H 288.3°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#46229B
RGBrgb(70, 34, 155)
HSLhsl(258, 64%, 37%)
HSVhsv(258, 78%, 61%)
CMYKcmyk(54.8%, 78.1%, 0%, 39.2%)
CIE-LABlab(26.19, 46.13, -59.47)
CIE-LCHlch(26.19, 75.27, 307.80°)
OKLaboklab(38.45% 0.0567 -0.1711)
OKLCHoklch(38.45% 0.18 288.3)
XYZxyz(9.0125, 4.8123, 31.4580)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46229B #779B22
analogous
#223B9B #46229B #83229B
triadic
#46229B #9B4622 #229B46
tetradic
#46229B #9B223B #779B22 #229B83
square
#46229B #9B223B #779B22 #229B83
split-complementary
#46229B #9B8322 #3B9B22
monochromatic
#190C37 #2F1769 #46229B #5D2DCD #825CDB

Accessibility & contrast

On white

10.70
#46229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46229B
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46229B#FFFFFF#000000##FFFFFF
##46229B1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#23445E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #46229b;
/* rgb */ color: rgb(70, 34, 155);
/* oklch */ color: oklch(38.5% 0.180 288.3);
Tailwind
colors: {
  custom: {
    50: '#8362ba',
    500: '#46229b',
    950: '#000000',
  },
}
SCSS
$custom: #46229b;
$custom-light: #8362ba;
$custom-dark: #000000;
JSON
{
  "hex": "#46229b",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 257.851,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38452,
    "c": 0.18023,
    "h": 288.3
  },
  "luminance": 0.04813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #46229B

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

Preview Lab → · Contrast checker → · Palette generator →

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