#46227D#46227D

#46227D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.145 H 296.4°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#46227D
RGBrgb(70, 34, 125)
HSLhsl(264, 57%, 31%)
HSVhsv(264, 73%, 49%)
CMYKcmyk(44%, 72.8%, 0%, 51%)
CIE-LABlab(23.43, 37.61, -45.33)
CIE-LCHlch(23.43, 58.90, 309.68°)
OKLaboklab(35.65% 0.0643 -0.1296)
OKLCHoklch(35.65% 0.145 296.4)
XYZxyz(6.7985, 3.9267, 19.7978)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46227D #597D22
analogous
#222B7D #46227D #73227D
triadic
#46227D #7D4622 #227D46
tetradic
#46227D #7D222B #597D22 #227D73
square
#46227D #7D222B #597D22 #227D73
split-complementary
#46227D #7D7322 #2B7D22
monochromatic
#10081D #2B154D #46227D #612FAD #7F4BCE

Accessibility & contrast

On white

11.76
#46227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#46227D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46227D
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46227D#FFFFFF#000000##FFFFFF
##46227D1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#38394D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #46227d;
/* rgb */ color: rgb(70, 34, 125);
/* oklch */ color: oklch(35.7% 0.145 296.4);
Tailwind
colors: {
  custom: {
    50: '#7f60a3',
    500: '#46227d',
    950: '#000000',
  },
}
SCSS
$custom: #46227d;
$custom-light: #7f60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#46227d",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 263.736,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35653,
    "c": 0.14465,
    "h": 296.4
  },
  "luminance": 0.03927
}

Semantic roles & 50–950 ramp

primary
#46227D
secondary
#88B04B
accent
#E047A4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #46227D

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

Preview Lab → · Contrast checker → · Palette generator →

#46227D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva