#46227C#46227C

#46227C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.143 H 296.7°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#46227C
RGBrgb(70, 34, 124)
HSLhsl(264, 57%, 31%)
HSVhsv(264, 73%, 49%)
CMYKcmyk(43.5%, 72.6%, 0%, 51.4%)
CIE-LABlab(23.34, 37.33, -44.83)
CIE-LCHlch(23.34, 58.34, 309.78°)
OKLaboklab(35.57% 0.0645 -0.1281)
OKLCHoklch(35.57% 0.143 296.7)
XYZxyz(6.7350, 3.9012, 19.4630)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46227C #587C22
analogous
#222B7C #46227C #73227C
triadic
#46227C #7C4622 #227C46
tetradic
#46227C #7C222B #587C22 #227C73
square
#46227C #7C222B #587C22 #227C73
split-complementary
#46227C #7C7322 #2B7C22
monochromatic
#10081C #2B154C #46227C #612FAC #7F4BCE

Accessibility & contrast

On white

11.80
#46227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#46227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46227C
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46227C#FFFFFF#000000##FFFFFF
##46227C1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#38384C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #46227c;
/* rgb */ color: rgb(70, 34, 124);
/* oklch */ color: oklch(35.6% 0.143 296.7);
Tailwind
colors: {
  custom: {
    50: '#7f60a3',
    500: '#46227c',
    950: '#000000',
  },
}
SCSS
$custom: #46227c;
$custom-light: #7f60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#46227c",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 264,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35566,
    "c": 0.14344,
    "h": 296.7
  },
  "luminance": 0.03901
}

Semantic roles & 50–950 ramp

primary
#46227C
secondary
#87AF4B
accent
#E048A3
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #46227C

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

Preview Lab → · Contrast checker → · Palette generator →

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