#46157D#46157D

#46157D is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.159 H 298.6°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#46157D
RGBrgb(70, 21, 125)
HSLhsl(268, 71%, 29%)
HSVhsv(268, 83%, 49%)
CMYKcmyk(44%, 83.2%, 0%, 51%)
CIE-LABlab(21.28, 43.73, -48.84)
CIE-LCHlch(21.28, 65.55, 311.84°)
OKLaboklab(34.14% 0.0763 -0.1398)
OKLCHoklch(34.14% 0.159 298.6)
XYZxyz(6.4947, 3.3190, 19.6965)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46157D #4C7D15
analogous
#15187D #46157D #7A157D
triadic
#46157D #7D4615 #157D46
tetradic
#46157D #7D1518 #4C7D15 #157D7A
square
#46157D #7D1518 #4C7D15 #157D7A
split-complementary
#46157D #7D7A15 #187D15
monochromatic
#0F041A #290C49 #46157D #631EB1 #8130DC

Accessibility & contrast

On white

12.62
#46157D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#46157D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46157D
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46157D#FFFFFF#000000##FFFFFF
##46157D1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#38324A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #46157d;
/* rgb */ color: rgb(70, 21, 125);
/* oklch */ color: oklch(34.1% 0.159 298.6);
Tailwind
colors: {
  custom: {
    50: '#805aa4',
    500: '#46157d',
    950: '#000000',
  },
}
SCSS
$custom: #46157d;
$custom-light: #805aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#46157d",
  "rgb": {
    "r": 70,
    "g": 21,
    "b": 125
  },
  "hsl": {
    "h": 268.269,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34142,
    "c": 0.15926,
    "h": 298.6
  },
  "luminance": 0.03319
}

Semantic roles & 50–950 ramp

primary
#46157D
secondary
#7AB23C
accent
#EE3A99
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #46157D

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

Preview Lab → · Contrast checker → · Palette generator →

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