#46226B#46226B

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

Color values

HEX#46226B
RGBrgb(70, 34, 107)
HSLhsl(270, 52%, 28%)
HSVhsv(270, 68%, 42%)
CMYKcmyk(34.6%, 68.2%, 0%, 58%)
CIE-LABlab(21.97, 32.62, -36.15)
CIE-LCHlch(21.97, 48.69, 312.06°)
OKLaboklab(34.15% 0.0669 -0.1026)
OKLCHoklch(34.15% 0.123 303.1)
XYZxyz(5.7510, 3.5077, 14.2811)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46226B #476B22
analogous
#22236B #46226B #6A226B
triadic
#46226B #6B4622 #226B46
tetradic
#46226B #6B2223 #476B22 #226B6A
square
#46226B #6B2223 #476B22 #226B6A
split-complementary
#46226B #6B6A22 #236B22
monochromatic
#0F0717 #28133D #46226B #643199 #8344C4

Accessibility & contrast

On white

12.34
#46226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#46226B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46226B
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46226B#FFFFFF#000000##FFFFFF
##46226B1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346D
Deuteranopia (green-blind)
#093469
Tritanopia (blue-blind)
#3F3243
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #46226b;
/* rgb */ color: rgb(70, 34, 107);
/* oklch */ color: oklch(34.2% 0.123 303.1);
Tailwind
colors: {
  custom: {
    50: '#7d6096',
    500: '#46226b',
    950: '#000000',
  },
}
SCSS
$custom: #46226b;
$custom-light: #7d6096;
$custom-dark: #000000;
JSON
{
  "hex": "#46226b",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 269.589,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34153,
    "c": 0.12251,
    "h": 303.1
  },
  "luminance": 0.03508
}

Semantic roles & 50–950 ramp

primary
#46226B
secondary
#759F4A
accent
#DB4D95
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #46226B

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

Preview Lab → · Contrast checker → · Palette generator →

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