#46228B#46228B

#46228B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.161 H 292.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#46228B
RGBrgb(70, 34, 139)
HSLhsl(261, 61%, 34%)
HSVhsv(261, 76%, 55%)
CMYKcmyk(49.6%, 75.5%, 0%, 45.5%)
CIE-LABlab(24.67, 41.57, -52.09)
CIE-LCHlch(24.67, 66.65, 308.59°)
OKLaboklab(36.92% 0.0611 -0.1494)
OKLCHoklch(36.92% 0.161 292.2)
XYZxyz(7.7567, 4.3100, 24.8443)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46228B #678B22
analogous
#22338B #46228B #7B228B
triadic
#46228B #8B4622 #228B46
tetradic
#46228B #8B2233 #678B22 #228B7B
square
#46228B #8B2233 #678B22 #228B7B
split-complementary
#46228B #8B7B22 #338B22
monochromatic
#140A29 #2D165A #46228B #5F2EBC #7F53D5

Accessibility & contrast

On white

11.28
#46228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46228B
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46228B#FFFFFF#000000##FFFFFF
##46228B1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#303E55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #46228b;
/* rgb */ color: rgb(70, 34, 139);
/* oklch */ color: oklch(36.9% 0.161 292.2);
Tailwind
colors: {
  custom: {
    50: '#8161ae',
    500: '#46228b',
    950: '#000000',
  },
}
SCSS
$custom: #46228b;
$custom-light: #8161ae;
$custom-dark: #000000;
JSON
{
  "hex": "#46228b",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 260.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36919,
    "c": 0.16147,
    "h": 292.2
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

primary
#46228B
secondary
#95B850
accent
#E444AD
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #46228B

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

Preview Lab → · Contrast checker → · Palette generator →

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