#671893#671893

#671893 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.8% C 0.185 H 309.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#671893
RGBrgb(103, 24, 147)
HSLhsl(279, 72%, 34%)
HSVhsv(279, 84%, 58%)
CMYKcmyk(29.9%, 83.7%, 0%, 42.4%)
CIE-LABlab(28.49, 53.24, -50.62)
CIE-LCHlch(28.49, 73.46, 316.44°)
OKLaboklab(40.79% 0.1171 -0.1438)
OKLCHoklch(40.79% 0.185 309.1)
XYZxyz(11.1855, 5.6436, 28.0982)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671893 #449318
analogous
#2A1893 #671893 #931881
triadic
#671893 #936718 #189367
tetradic
#671893 #932A18 #449318 #188193
square
#671893 #932A18 #449318 #188193
split-complementary
#671893 #819318 #18932A
monochromatic
#1D072A #420F5E #671893 #8C21C8 #A945E1

Accessibility & contrast

On white

9.87
#671893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#671893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671893
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671893#FFFFFF#000000##FFFFFF
##6718931.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#603957
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671893;
/* rgb */ color: rgb(103, 24, 147);
/* oklch */ color: oklch(40.8% 0.185 309.1);
Tailwind
colors: {
  custom: {
    50: '#9761b4',
    500: '#671893',
    950: '#000000',
  },
}
SCSS
$custom: #671893;
$custom-light: #9761b4;
$custom-dark: #000000;
JSON
{
  "hex": "#671893",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 147
  },
  "hsl": {
    "h": 278.537,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4079,
    "c": 0.18546,
    "h": 309.1
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#671893
secondary
#72C245
accent
#EF397A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #671893

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

Preview Lab → · Contrast checker → · Palette generator →

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