#671DA7#671DA7

#671DA7 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.9% C 0.200 H 302.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#671DA7
RGBrgb(103, 29, 167)
HSLhsl(272, 70%, 38%)
HSVhsv(272, 83%, 65%)
CMYKcmyk(38.3%, 82.6%, 0%, 34.5%)
CIE-LABlab(30.77, 56.08, -59.10)
CIE-LCHlch(30.77, 81.47, 313.50°)
OKLaboklab(42.89% 0.1075 -0.1688)
OKLCHoklch(42.89% 0.2 302.5)
XYZxyz(13.0063, 6.5523, 37.1312)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671DA7 #5DA71D
analogous
#221DA7 #671DA7 #A71DA2
triadic
#671DA7 #A7671D #1DA767
tetradic
#671DA7 #A7221D #5DA71D #1DA2A7
square
#671DA7 #A7221D #5DA71D #1DA2A7
split-complementary
#671DA7 #A2A71D #1DA722
monochromatic
#270B3F #471473 #671DA7 #8728DA #A45CE3

Accessibility & contrast

On white

9.09
#671DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#671DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671DA7
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671DA7#FFFFFF#000000##FFFFFF
##671DA71.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.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: #671da7;
/* rgb */ color: rgb(103, 29, 167);
/* oklch */ color: oklch(42.9% 0.200 302.5);
Tailwind
colors: {
  custom: {
    50: '#9964c2',
    500: '#671da7',
    950: '#000000',
  },
}
SCSS
$custom: #671da7;
$custom-light: #9964c2;
$custom-dark: #000000;
JSON
{
  "hex": "#671da7",
  "rgb": {
    "r": 103,
    "g": 29,
    "b": 167
  },
  "hsl": {
    "h": 272.174,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42894,
    "c": 0.20014,
    "h": 302.5
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

primary
#671DA7
secondary
#8CC759
accent
#ED3B8D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #671DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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