#46226F#46226F

#46226F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.127 H 301.4°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#46226F
RGBrgb(70, 34, 111)
HSLhsl(268, 53%, 28%)
HSVhsv(268, 69%, 44%)
CMYKcmyk(36.9%, 69.4%, 0%, 56.5%)
CIE-LABlab(22.28, 33.71, -38.24)
CIE-LCHlch(22.28, 50.98, 311.40°)
OKLaboklab(34.47% 0.0665 -0.1087)
OKLCHoklch(34.47% 0.127 301.4)
XYZxyz(5.9664, 3.5938, 15.4152)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46226F #4B6F22
analogous
#22246F #46226F #6C226F
triadic
#46226F #6F4622 #226F46
tetradic
#46226F #6F2224 #4B6F22 #226F6C
square
#46226F #6F2224 #4B6F22 #226F6C
split-complementary
#46226F #6F6C22 #246F22
monochromatic
#0F0717 #281440 #46226F #64309E #8245C6

Accessibility & contrast

On white

12.22
#46226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#46226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46226F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46226F#FFFFFF#000000##FFFFFF
##46226F1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#00356D
Tritanopia (blue-blind)
#3D3345
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #46226f;
/* rgb */ color: rgb(70, 34, 111);
/* oklch */ color: oklch(34.5% 0.127 301.4);
Tailwind
colors: {
  custom: {
    50: '#7d6099',
    500: '#46226f',
    950: '#000000',
  },
}
SCSS
$custom: #46226f;
$custom-light: #7d6099;
$custom-dark: #000000;
JSON
{
  "hex": "#46226f",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 268.052,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34473,
    "c": 0.12747,
    "h": 301.4
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#46226F
secondary
#79A24A
accent
#DD4B99
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #46226F

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

Preview Lab → · Contrast checker → · Palette generator →

#46226F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva