#461158#461158

#461158 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.5% C 0.125 H 315.9°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#461158
RGBrgb(70, 17, 88)
HSLhsl(285, 68%, 21%)
HSVhsv(285, 81%, 35%)
CMYKcmyk(20.5%, 80.7%, 0%, 65.5%)
CIE-LABlab(17.50, 36.33, -30.83)
CIE-LCHlch(17.50, 47.65, 319.69°)
OKLaboklab(30.49% 0.0895 -0.0869)
OKLCHoklch(30.49% 0.125 315.9)
XYZxyz(4.4874, 2.4077, 9.4590)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461158 #235811
analogous
#221158 #461158 #581146
triadic
#461158 #584611 #115846
tetradic
#461158 #582211 #235811 #114658
square
#461158 #582211 #235811 #114658
split-complementary
#461158 #465811 #115822
monochromatic
#14051A #1D0725 #461158 #6F1B8B #9825BF

Accessibility & contrast

On white

14.17
#461158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #461158
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461158#FFFFFF#000000##FFFFFF
##4611581.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285A
Deuteranopia (green-blind)
#102C56
Tritanopia (blue-blind)
#452034
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #461158;
/* rgb */ color: rgb(70, 17, 88);
/* oklch */ color: oklch(30.5% 0.125 315.9);
Tailwind
colors: {
  custom: {
    50: '#7c5688',
    500: '#461158',
    950: '#000000',
  },
}
SCSS
$custom: #461158;
$custom-light: #7c5688;
$custom-dark: #000000;
JSON
{
  "hex": "#461158",
  "rgb": {
    "r": 70,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 284.789,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30491,
    "c": 0.12473,
    "h": 315.9
  },
  "luminance": 0.02408
}

Semantic roles & 50–950 ramp

primary
#461158
secondary
#4B9134
accent
#EA3D69
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #461158

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

Preview Lab → · Contrast checker → · Palette generator →

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