#671898#671898

#671898 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.190 H 307.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#671898
RGBrgb(103, 24, 152)
HSLhsl(277, 73%, 35%)
HSVhsv(277, 84%, 60%)
CMYKcmyk(32.2%, 84.2%, 0%, 40.4%)
CIE-LABlab(28.91, 54.33, -53.01)
CIE-LCHlch(28.91, 75.91, 315.70°)
OKLaboklab(41.21% 0.1156 -0.1509)
OKLCHoklch(41.21% 0.19 307.5)
XYZxyz(11.5864, 5.8040, 30.2096)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671898 #499818
analogous
#271898 #671898 #981889
triadic
#671898 #986718 #189867
tetradic
#671898 #982718 #499818 #188998
square
#671898 #982718 #499818 #188998
split-complementary
#671898 #899818 #189827
monochromatic
#1F072E #431063 #671898 #8B20CD #A748E2

Accessibility & contrast

On white

9.72
#671898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#671898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671898
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671898#FFFFFF#000000##FFFFFF
##6718981.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#5F3B5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671898;
/* rgb */ color: rgb(103, 24, 152);
/* oklch */ color: oklch(41.2% 0.190 307.5);
Tailwind
colors: {
  custom: {
    50: '#9861b7',
    500: '#671898',
    950: '#000000',
  },
}
SCSS
$custom: #671898;
$custom-light: #9861b7;
$custom-dark: #000000;
JSON
{
  "hex": "#671898",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 152
  },
  "hsl": {
    "h": 277.031,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41209,
    "c": 0.1901,
    "h": 307.5
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#671898
secondary
#77C448
accent
#EF387E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #671898

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

Preview Lab → · Contrast checker → · Palette generator →

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