#46218F#46218F

#46218F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.167 H 291.4°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#46218F
RGBrgb(70, 33, 143)
HSLhsl(260, 63%, 35%)
HSVhsv(260, 77%, 56%)
CMYKcmyk(51%, 76.9%, 0%, 43.9%)
CIE-LABlab(24.87, 43.21, -54.26)
CIE-LCHlch(24.87, 69.36, 308.53°)
OKLaboklab(37.17% 0.061 -0.1558)
OKLCHoklch(37.17% 0.167 291.4)
XYZxyz(8.0262, 4.3727, 26.4024)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46218F #6A8F21
analogous
#21338F #46218F #7D218F
triadic
#46218F #8F4621 #218F46
tetradic
#46218F #8F2133 #6A8F21 #218F7D
square
#46218F #8F2133 #6A8F21 #218F7D
split-complementary
#46218F #8F7D21 #338F21
monochromatic
#150A2C #2E165D #46218F #5E2CC1 #8053D7

Accessibility & contrast

On white

11.20
#46218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#46218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46218F
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46218F#FFFFFF#000000##FFFFFF
##46218F1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #46218f;
/* rgb */ color: rgb(70, 33, 143);
/* oklch */ color: oklch(37.2% 0.167 291.4);
Tailwind
colors: {
  custom: {
    50: '#8161b1',
    500: '#46218f',
    950: '#000000',
  },
}
SCSS
$custom: #46218f;
$custom-light: #8161b1;
$custom-dark: #000000;
JSON
{
  "hex": "#46218f",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 260.182,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37171,
    "c": 0.16729,
    "h": 291.4
  },
  "luminance": 0.04373
}

Semantic roles & 50–950 ramp

primary
#46218F
secondary
#97BB51
accent
#E642AF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #46218F

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

Preview Lab → · Contrast checker → · Palette generator →

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