#46168D#46168D

#46168D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.176 H 293.5°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#46168D
RGBrgb(70, 22, 141)
HSLhsl(264, 73%, 32%)
HSVhsv(264, 84%, 55%)
CMYKcmyk(50.4%, 84.4%, 0%, 44.7%)
CIE-LABlab(22.99, 47.51, -56.09)
CIE-LCHlch(22.99, 73.51, 310.27°)
OKLaboklab(35.81% 0.0699 -0.1611)
OKLCHoklch(35.81% 0.176 293.5)
XYZxyz(7.6191, 3.7987, 25.5259)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46168D #5D8D16
analogous
#16218D #46168D #82168D
triadic
#46168D #8D4616 #168D46
tetradic
#46168D #8D1621 #5D8D16 #168D82
square
#46168D #8D1621 #5D8D16 #168D82
split-complementary
#46168D #8D8216 #218D16
monochromatic
#110523 #2C0E58 #46168D #601EC2 #7F3DE1

Accessibility & contrast

On white

11.93
#46168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#46168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46168D
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46168D#FFFFFF#000000##FFFFFF
##46168D1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#2F3A53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #46168d;
/* rgb */ color: rgb(70, 22, 141);
/* oklch */ color: oklch(35.8% 0.176 293.5);
Tailwind
colors: {
  custom: {
    50: '#825baf',
    500: '#46168d',
    950: '#000000',
  },
}
SCSS
$custom: #46168d;
$custom-light: #825baf;
$custom-dark: #000000;
JSON
{
  "hex": "#46168d",
  "rgb": {
    "r": 70,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 264.202,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35809,
    "c": 0.17556,
    "h": 293.5
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#46168D
secondary
#8CC13E
accent
#F038A6
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #46168D

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

Preview Lab → · Contrast checker → · Palette generator →

#46168D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva