#671EA7#671EA7

#671EA7 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.199 H 302.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#671EA7
RGBrgb(103, 30, 167)
HSLhsl(272, 70%, 39%)
HSVhsv(272, 82%, 65%)
CMYKcmyk(38.3%, 82%, 0%, 34.5%)
CIE-LABlab(30.88, 55.74, -58.91)
CIE-LCHlch(30.88, 81.10, 313.42°)
OKLaboklab(42.98% 0.1068 -0.1682)
OKLCHoklch(42.98% 0.199 302.4)
XYZxyz(13.0312, 6.6021, 37.1395)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671EA7 #5EA71E
analogous
#231EA7 #671EA7 #A71EA2
triadic
#671EA7 #A7671E #1EA767
tetradic
#671EA7 #A7231E #5EA71E #1EA2A7
square
#671EA7 #A7231E #5EA71E #1EA2A7
split-complementary
#671EA7 #A2A71E #1EA723
monochromatic
#270B3F #471573 #671EA7 #872AD9 #A45DE2

Accessibility & contrast

On white

9.05
#671EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#671EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671EA7
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671EA7#FFFFFF#000000##FFFFFF
##671EA71.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671ea7;
/* rgb */ color: rgb(103, 30, 167);
/* oklch */ color: oklch(43.0% 0.199 302.4);
Tailwind
colors: {
  custom: {
    50: '#9964c2',
    500: '#671ea7',
    950: '#000000',
  },
}
SCSS
$custom: #671ea7;
$custom-light: #9964c2;
$custom-dark: #000000;
JSON
{
  "hex": "#671ea7",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 271.971,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42976,
    "c": 0.19928,
    "h": 302.4
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#671EA7
secondary
#8DC65B
accent
#EC3B8E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #671EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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