#471968#471968

#471968 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.132 H 307.1°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#471968
RGBrgb(71, 25, 104)
HSLhsl(275, 61%, 25%)
HSVhsv(275, 76%, 41%)
CMYKcmyk(31.7%, 76%, 0%, 59.2%)
CIE-LABlab(20.18, 36.79, -37.08)
CIE-LCHlch(20.18, 52.23, 314.77°)
OKLaboklab(32.83% 0.0796 -0.1053)
OKLCHoklch(32.83% 0.132 307.1)
XYZxyz(5.4443, 3.0344, 13.3929)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471968 #3A6819
analogous
#201968 #471968 #681961
triadic
#471968 #684719 #196847
tetradic
#471968 #682019 #3A6819 #196168
square
#471968 #682019 #3A6819 #196168
split-complementary
#471968 #616819 #196820
monochromatic
#110619 #250D37 #471968 #692599 #8A31CB

Accessibility & contrast

On white

13.07
#471968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#471968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471968
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471968#FFFFFF#000000##FFFFFF
##4719681.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#003166
Tritanopia (blue-blind)
#412B3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #471968;
/* rgb */ color: rgb(71, 25, 104);
/* oklch */ color: oklch(32.8% 0.132 307.1);
Tailwind
colors: {
  custom: {
    50: '#7e5a94',
    500: '#471968',
    950: '#000000',
  },
}
SCSS
$custom: #471968;
$custom-light: #7e5a94;
$custom-dark: #000000;
JSON
{
  "hex": "#471968",
  "rgb": {
    "r": 71,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 274.937,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32828,
    "c": 0.13198,
    "h": 307.1
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#471968
secondary
#679E3F
accent
#E44387
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #471968

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

Preview Lab → · Contrast checker → · Palette generator →

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