#46226C#46226C

#46226C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.124 H 302.7°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#46226C
RGBrgb(70, 34, 108)
HSLhsl(269, 52%, 28%)
HSVhsv(269, 69%, 42%)
CMYKcmyk(35.2%, 68.5%, 0%, 57.6%)
CIE-LABlab(22.05, 32.89, -36.67)
CIE-LCHlch(22.05, 49.26, 311.89°)
OKLaboklab(34.23% 0.0668 -0.1041)
OKLCHoklch(34.23% 0.124 302.7)
XYZxyz(5.8040, 3.5289, 14.5598)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46226C #486C22
analogous
#22236C #46226C #6B226C
triadic
#46226C #6C4622 #226C46
tetradic
#46226C #6C2223 #486C22 #226C6B
square
#46226C #6C2223 #486C22 #226C6B
split-complementary
#46226C #6C6B22 #236C22
monochromatic
#0F0717 #28133D #46226C #64319B #8244C4

Accessibility & contrast

On white

12.31
#46226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#46226C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46226C
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46226C#FFFFFF#000000##FFFFFF
##46226C1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#07356A
Tritanopia (blue-blind)
#3E3243
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #46226c;
/* rgb */ color: rgb(70, 34, 108);
/* oklch */ color: oklch(34.2% 0.124 302.7);
Tailwind
colors: {
  custom: {
    50: '#7d6097',
    500: '#46226c',
    950: '#000000',
  },
}
SCSS
$custom: #46226c;
$custom-light: #7d6097;
$custom-dark: #000000;
JSON
{
  "hex": "#46226c",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 269.189,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34232,
    "c": 0.12375,
    "h": 302.7
  },
  "luminance": 0.03529
}

Semantic roles & 50–950 ramp

primary
#46226C
secondary
#76A04A
accent
#DC4C96
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #46226C

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

Preview Lab → · Contrast checker → · Palette generator →

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