#46228F#46228F

#46228F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.166 H 291.2°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#46228F
RGBrgb(70, 34, 143)
HSLhsl(260, 62%, 35%)
HSVhsv(260, 76%, 56%)
CMYKcmyk(51%, 76.2%, 0%, 43.9%)
CIE-LABlab(25.04, 42.71, -53.97)
CIE-LCHlch(25.04, 68.83, 308.36°)
OKLaboklab(37.29% 0.0601 -0.155)
OKLCHoklch(37.29% 0.166 291.2)
XYZxyz(8.0543, 4.4290, 26.4118)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46228F #6B8F22
analogous
#22348F #46228F #7D228F
triadic
#46228F #8F4622 #228F46
tetradic
#46228F #8F2234 #6B8F22 #228F7D
square
#46228F #8F2234 #6B8F22 #228F7D
split-complementary
#46228F #8F7D22 #348F22
monochromatic
#160A2C #2E165E #46228F #5E2EC0 #8055D7

Accessibility & contrast

On white

11.14
#46228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#46228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46228F
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46228F#FFFFFF#000000##FFFFFF
##46228F1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#2D4057
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #46228f;
/* rgb */ color: rgb(70, 34, 143);
/* oklch */ color: oklch(37.3% 0.166 291.2);
Tailwind
colors: {
  custom: {
    50: '#8161b1',
    500: '#46228f',
    950: '#000000',
  },
}
SCSS
$custom: #46228f;
$custom-light: #8161b1;
$custom-dark: #000000;
JSON
{
  "hex": "#46228f",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 259.817,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37294,
    "c": 0.1662,
    "h": 291.2
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#46228F
secondary
#98BA52
accent
#E543AF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #46228F

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

Preview Lab → · Contrast checker → · Palette generator →

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