#46218C#46218C

#46218C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.164 H 292.2°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#46218C
RGBrgb(70, 33, 140)
HSLhsl(261, 62%, 34%)
HSVhsv(261, 76%, 55%)
CMYKcmyk(50%, 76.4%, 0%, 45.1%)
CIE-LABlab(24.59, 42.36, -52.85)
CIE-LCHlch(24.59, 67.73, 308.71°)
OKLaboklab(36.89% 0.0618 -0.1517)
OKLCHoklch(36.89% 0.164 292.2)
XYZxyz(7.8019, 4.2830, 25.2215)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46218C #678C21
analogous
#21318C #46218C #7C218C
triadic
#46218C #8C4621 #218C46
tetradic
#46218C #8C2131 #678C21 #218C7C
square
#46218C #8C2131 #678C21 #218C7C
split-complementary
#46218C #8C7C21 #318C21
monochromatic
#140A29 #2D155A #46218C #5F2DBE #7F51D6

Accessibility & contrast

On white

11.31
#46218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#46218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46218C
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46218C#FFFFFF#000000##FFFFFF
##46218C1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #46218c;
/* rgb */ color: rgb(70, 33, 140);
/* oklch */ color: oklch(36.9% 0.164 292.2);
Tailwind
colors: {
  custom: {
    50: '#8160af',
    500: '#46218c',
    950: '#000000',
  },
}
SCSS
$custom: #46218c;
$custom-light: #8160af;
$custom-dark: #000000;
JSON
{
  "hex": "#46218c",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 260.748,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36887,
    "c": 0.16377,
    "h": 292.2
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#46218C
secondary
#95B94F
accent
#E543AD
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #46218C

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

Preview Lab → · Contrast checker → · Palette generator →

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