#46228C#46228C

#46228C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.163 H 292.0°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#46228C
RGBrgb(70, 34, 140)
HSLhsl(260, 61%, 34%)
HSVhsv(260, 76%, 55%)
CMYKcmyk(50%, 75.7%, 0%, 45.1%)
CIE-LABlab(24.76, 41.86, -52.56)
CIE-LCHlch(24.76, 67.19, 308.53°)
OKLaboklab(37.01% 0.0609 -0.1508)
OKLCHoklch(37.01% 0.163 292)
XYZxyz(7.8301, 4.3393, 25.2309)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46228C #688C22
analogous
#22338C #46228C #7B228C
triadic
#46228C #8C4622 #228C46
tetradic
#46228C #8C2233 #688C22 #228C7B
square
#46228C #8C2233 #688C22 #228C7B
split-complementary
#46228C #8C7B22 #338C22
monochromatic
#150A2A #2D165B #46228C #5F2EBD #7F53D5

Accessibility & contrast

On white

11.24
#46228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#46228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46228C
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46228C#FFFFFF#000000##FFFFFF
##46228C1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#2F3E55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #46228c;
/* rgb */ color: rgb(70, 34, 140);
/* oklch */ color: oklch(37.0% 0.163 292.0);
Tailwind
colors: {
  custom: {
    50: '#8161af',
    500: '#46228c',
    950: '#000000',
  },
}
SCSS
$custom: #46228c;
$custom-light: #8161af;
$custom-dark: #000000;
JSON
{
  "hex": "#46228c",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 260.377,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37012,
    "c": 0.16266,
    "h": 292
  },
  "luminance": 0.0434
}

Semantic roles & 50–950 ramp

primary
#46228C
secondary
#96B951
accent
#E444AE
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #46228C

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

Preview Lab → · Contrast checker → · Palette generator →

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