#671CA7#671CA7

#671CA7 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.8% C 0.201 H 302.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#671CA7
RGBrgb(103, 28, 167)
HSLhsl(272, 71%, 38%)
HSVhsv(272, 83%, 65%)
CMYKcmyk(38.3%, 83.2%, 0%, 34.5%)
CIE-LABlab(30.65, 56.42, -59.29)
CIE-LCHlch(30.65, 81.84, 313.58°)
OKLaboklab(42.81% 0.1082 -0.1693)
OKLCHoklch(42.81% 0.201 302.6)
XYZxyz(12.9821, 6.5041, 37.1232)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671CA7 #5CA71C
analogous
#211CA7 #671CA7 #A71CA1
triadic
#671CA7 #A7671C #1CA767
tetradic
#671CA7 #A7211C #5CA71C #1CA1A7
square
#671CA7 #A7211C #5CA71C #1CA1A7
split-complementary
#671CA7 #A1A71C #1CA721
monochromatic
#260A3E #471373 #671CA7 #8726DB #A45AE3

Accessibility & contrast

On white

9.13
#671CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#671CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671CA7
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671CA7#FFFFFF#000000##FFFFFF
##671CA71.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#594464
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #671ca7;
/* rgb */ color: rgb(103, 28, 167);
/* oklch */ color: oklch(42.8% 0.201 302.6);
Tailwind
colors: {
  custom: {
    50: '#9963c2',
    500: '#671ca7',
    950: '#000000',
  },
}
SCSS
$custom: #671ca7;
$custom-light: #9963c2;
$custom-dark: #000000;
JSON
{
  "hex": "#671ca7",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 272.374,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42814,
    "c": 0.20097,
    "h": 302.6
  },
  "luminance": 0.06504
}

Semantic roles & 50–950 ramp

primary
#671CA7
secondary
#8BC758
accent
#EE3A8D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #671CA7

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

Preview Lab → · Contrast checker → · Palette generator →

#671CA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva