#461788#461788

#461788 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.169 H 294.8°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#461788
RGBrgb(70, 23, 136)
HSLhsl(265, 71%, 31%)
HSVhsv(265, 83%, 53%)
CMYKcmyk(48.5%, 83.1%, 0%, 46.7%)
CIE-LABlab(22.63, 45.80, -53.57)
CIE-LCHlch(22.63, 70.48, 310.53°)
OKLaboklab(35.4% 0.071 -0.1537)
OKLCHoklch(35.4% 0.169 294.8)
XYZxyz(7.2749, 3.6922, 23.6172)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461788 #598817
analogous
#172088 #461788 #7E1788
triadic
#461788 #884617 #178846
tetradic
#461788 #881720 #598817 #17887E
square
#461788 #881720 #598817 #17887E
split-complementary
#461788 #887E17 #208817
monochromatic
#10051F #2B0E54 #461788 #6120BC #7F3BDE

Accessibility & contrast

On white

12.08
#461788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#461788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461788
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461788#FFFFFF#000000##FFFFFF
##4617881.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#323850
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #461788;
/* rgb */ color: rgb(70, 23, 136);
/* oklch */ color: oklch(35.4% 0.169 294.8);
Tailwind
colors: {
  custom: {
    50: '#815bac',
    500: '#461788',
    950: '#000000',
  },
}
SCSS
$custom: #461788;
$custom-light: #815bac;
$custom-dark: #000000;
JSON
{
  "hex": "#461788",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 264.956,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35403,
    "c": 0.16929,
    "h": 294.8
  },
  "luminance": 0.03692
}

Semantic roles & 50–950 ramp

primary
#461788
secondary
#88BC3F
accent
#EE3AA3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #461788

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

Preview Lab → · Contrast checker → · Palette generator →

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