#671894#671894

#671894 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.186 H 308.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#671894
RGBrgb(103, 24, 148)
HSLhsl(278, 72%, 34%)
HSVhsv(278, 84%, 58%)
CMYKcmyk(30.4%, 83.8%, 0%, 42%)
CIE-LABlab(28.58, 53.45, -51.10)
CIE-LCHlch(28.58, 73.95, 316.29°)
OKLaboklab(40.87% 0.1168 -0.1453)
OKLCHoklch(40.87% 0.186 308.8)
XYZxyz(11.2643, 5.6752, 28.5132)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671894 #459418
analogous
#291894 #671894 #941883
triadic
#671894 #946718 #189467
tetradic
#671894 #942918 #459418 #188394
square
#671894 #942918 #459418 #188394
split-complementary
#671894 #839418 #189429
monochromatic
#1E072B #420F5F #671894 #8C21C9 #A945E1

Accessibility & contrast

On white

9.84
#671894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#671894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671894
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671894#FFFFFF#000000##FFFFFF
##6718941.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#603958
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671894;
/* rgb */ color: rgb(103, 24, 148);
/* oklch */ color: oklch(40.9% 0.186 308.8);
Tailwind
colors: {
  custom: {
    50: '#9861b4',
    500: '#671894',
    950: '#000000',
  },
}
SCSS
$custom: #671894;
$custom-light: #9861b4;
$custom-dark: #000000;
JSON
{
  "hex": "#671894",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 148
  },
  "hsl": {
    "h": 278.226,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40873,
    "c": 0.18639,
    "h": 308.8
  },
  "luminance": 0.05675
}

Semantic roles & 50–950 ramp

primary
#671894
secondary
#73C246
accent
#EF397B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #671894

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

Preview Lab → · Contrast checker → · Palette generator →

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