#671CA1#671CA1

#671CA1 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.3% C 0.195 H 304.3°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#671CA1
RGBrgb(103, 28, 161)
HSLhsl(274, 70%, 37%)
HSVhsv(274, 83%, 63%)
CMYKcmyk(36%, 82.6%, 0%, 36.9%)
CIE-LABlab(30.13, 55.04, -56.52)
CIE-LCHlch(30.13, 78.89, 314.24°)
OKLaboklab(42.29% 0.1101 -0.1612)
OKLCHoklch(42.29% 0.195 304.3)
XYZxyz(12.4403, 6.2873, 34.2695)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671CA1 #56A11C
analogous
#251CA1 #671CA1 #A11C98
triadic
#671CA1 #A1671C #1CA167
tetradic
#671CA1 #A1251C #56A11C #1C98A1
square
#671CA1 #A1251C #56A11C #1C98A1
split-complementary
#671CA1 #98A11C #1CA125
monochromatic
#240A39 #46136D #671CA1 #8825D5 #A556E2

Accessibility & contrast

On white

9.30
#671CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#671CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671CA1
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671CA1#FFFFFF#000000##FFFFFF
##671CA11.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#5B4160
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #671ca1;
/* rgb */ color: rgb(103, 28, 161);
/* oklch */ color: oklch(42.3% 0.195 304.3);
Tailwind
colors: {
  custom: {
    50: '#9863be',
    500: '#671ca1',
    950: '#000000',
  },
}
SCSS
$custom: #671ca1;
$custom-light: #9863be;
$custom-dark: #000000;
JSON
{
  "hex": "#671ca1",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 273.835,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4229,
    "c": 0.19521,
    "h": 304.3
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#671CA1
secondary
#85C554
accent
#ED3B88
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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