#46227E#46227E

#46227E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.146 H 296.1°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#46227E
RGBrgb(70, 34, 126)
HSLhsl(263, 58%, 31%)
HSVhsv(263, 73%, 49%)
CMYKcmyk(44.4%, 73%, 0%, 50.6%)
CIE-LABlab(23.51, 37.89, -45.82)
CIE-LCHlch(23.51, 59.45, 309.59°)
OKLaboklab(35.74% 0.0641 -0.131)
OKLCHoklch(35.74% 0.146 296.1)
XYZxyz(6.8627, 3.9524, 20.1359)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46227E #5A7E22
analogous
#222C7E #46227E #74227E
triadic
#46227E #7E4622 #227E46
tetradic
#46227E #7E222C #5A7E22 #227E74
square
#46227E #7E222C #5A7E22 #227E74
split-complementary
#46227E #7E7422 #2C7E22
monochromatic
#10081E #2B154E #46227E #612FAE #7F4CCF

Accessibility & contrast

On white

11.73
#46227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #46227E
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46227E#FFFFFF#000000##FFFFFF
##46227E1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#37394D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #46227e;
/* rgb */ color: rgb(70, 34, 126);
/* oklch */ color: oklch(35.7% 0.146 296.1);
Tailwind
colors: {
  custom: {
    50: '#7f60a4',
    500: '#46227e',
    950: '#000000',
  },
}
SCSS
$custom: #46227e;
$custom-light: #7f60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#46227e",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 263.478,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35741,
    "c": 0.14586,
    "h": 296.1
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#46227E
secondary
#89B14B
accent
#E147A5
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #46227E

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

Preview Lab → · Contrast checker → · Palette generator →

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