#461157#461157

#461157 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.4% C 0.124 H 316.4°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#461157
RGBrgb(70, 17, 87)
HSLhsl(285, 67%, 20%)
HSVhsv(285, 80%, 34%)
CMYKcmyk(19.5%, 80.5%, 0%, 65.9%)
CIE-LABlab(17.42, 36.11, -30.28)
CIE-LCHlch(17.42, 47.12, 320.02°)
OKLaboklab(30.41% 0.0896 -0.0853)
OKLCHoklch(30.41% 0.124 316.4)
XYZxyz(4.4463, 2.3913, 9.2423)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461157 #225711
analogous
#231157 #461157 #571145
triadic
#461157 #574611 #115746
tetradic
#461157 #572311 #225711 #114557
square
#461157 #572311 #225711 #114557
split-complementary
#461157 #455711 #115723
monochromatic
#15051A #1D0724 #461157 #6F1B8A #9825BD

Accessibility & contrast

On white

14.21
#461157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#461157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461157
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461157#FFFFFF#000000##FFFFFF
##4611571.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002859
Deuteranopia (green-blind)
#112C55
Tritanopia (blue-blind)
#452033
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #461157;
/* rgb */ color: rgb(70, 17, 87);
/* oklch */ color: oklch(30.4% 0.124 316.4);
Tailwind
colors: {
  custom: {
    50: '#7c5587',
    500: '#461157',
    950: '#000000',
  },
}
SCSS
$custom: #461157;
$custom-light: #7c5587;
$custom-dark: #000000;
JSON
{
  "hex": "#461157",
  "rgb": {
    "r": 70,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 285.429,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30413,
    "c": 0.12371,
    "h": 316.4
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#461157
secondary
#4A9034
accent
#EA3E68
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #461157

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

Preview Lab → · Contrast checker → · Palette generator →

#461157 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva