#46168F#46168F

#46168F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.178 H 292.9°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#46168F
RGBrgb(70, 22, 143)
HSLhsl(264, 73%, 32%)
HSVhsv(264, 85%, 56%)
CMYKcmyk(51%, 84.6%, 0%, 43.9%)
CIE-LABlab(23.20, 48.03, -57.00)
CIE-LCHlch(23.20, 74.54, 310.12°)
OKLaboklab(36.01% 0.0691 -0.1637)
OKLCHoklch(36.01% 0.178 292.9)
XYZxyz(7.7692, 3.8588, 26.3167)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46168F #5F8F16
analogous
#16228F #46168F #83168F
triadic
#46168F #8F4616 #168F46
tetradic
#46168F #8F1622 #5F8F16 #168F83
square
#46168F #8F1622 #5F8F16 #168F83
split-complementary
#46168F #8F8316 #228F16
monochromatic
#120625 #2C0E5A #46168F #601EC4 #7F3EE1

Accessibility & contrast

On white

11.85
#46168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#46168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46168F
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46168F#FFFFFF#000000##FFFFFF
##46168F1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#2E3B54
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #46168f;
/* rgb */ color: rgb(70, 22, 143);
/* oklch */ color: oklch(36.0% 0.178 292.9);
Tailwind
colors: {
  custom: {
    50: '#825bb1',
    500: '#46168f',
    950: '#000000',
  },
}
SCSS
$custom: #46168f;
$custom-light: #825bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#46168f",
  "rgb": {
    "r": 70,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 263.802,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36011,
    "c": 0.1777,
    "h": 292.9
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#46168F
secondary
#8EC13F
accent
#F038A7
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #46168F

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

Preview Lab → · Contrast checker → · Palette generator →

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