#46228A#46228A

#46228A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.160 H 292.5°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#46228A
RGBrgb(70, 34, 138)
HSLhsl(261, 60%, 34%)
HSVhsv(261, 75%, 54%)
CMYKcmyk(49.3%, 75.4%, 0%, 45.9%)
CIE-LABlab(24.58, 41.29, -51.62)
CIE-LCHlch(24.58, 66.10, 308.66°)
OKLaboklab(36.83% 0.0614 -0.1481)
OKLCHoklch(36.83% 0.16 292.5)
XYZxyz(7.6840, 4.2809, 24.4613)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46228A #668A22
analogous
#22328A #46228A #7A228A
triadic
#46228A #8A4622 #228A46
tetradic
#46228A #8A2232 #668A22 #228A7A
square
#46228A #8A2232 #668A22 #228A7A
split-complementary
#46228A #8A7A22 #328A22
monochromatic
#140A28 #2D1659 #46228A #5F2EBB #7F52D4

Accessibility & contrast

On white

11.31
#46228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#46228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46228A
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46228A#FFFFFF#000000##FFFFFF
##46228A1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#313E54
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #46228a;
/* rgb */ color: rgb(70, 34, 138);
/* oklch */ color: oklch(36.8% 0.160 292.5);
Tailwind
colors: {
  custom: {
    50: '#8161ad',
    500: '#46228a',
    950: '#000000',
  },
}
SCSS
$custom: #46228a;
$custom-light: #8161ad;
$custom-dark: #000000;
JSON
{
  "hex": "#46228a",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 260.769,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36826,
    "c": 0.16028,
    "h": 292.5
  },
  "luminance": 0.04281
}

Semantic roles & 50–950 ramp

primary
#46228A
secondary
#94B850
accent
#E444AC
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #46228A

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

Preview Lab → · Contrast checker → · Palette generator →

#46228A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva