#671BA1#671BA1

#671BA1 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.2% C 0.196 H 304.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#671BA1
RGBrgb(103, 27, 161)
HSLhsl(274, 71%, 37%)
HSVhsv(274, 83%, 63%)
CMYKcmyk(36%, 83.2%, 0%, 36.9%)
CIE-LABlab(30.01, 55.38, -56.70)
CIE-LCHlch(30.01, 79.26, 314.32°)
OKLaboklab(42.21% 0.1108 -0.1617)
OKLCHoklch(42.21% 0.196 304.4)
XYZxyz(12.4170, 6.2407, 34.2617)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671BA1 #55A11B
analogous
#241BA1 #671BA1 #A11B98
triadic
#671BA1 #A1671B #1BA167
tetradic
#671BA1 #A1241B #55A11B #1B98A1
square
#671BA1 #A1241B #55A11B #1B98A1
split-complementary
#671BA1 #98A11B #1BA124
monochromatic
#240938 #45126D #671BA1 #8924D5 #A554E2

Accessibility & contrast

On white

9.34
#671BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#671BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671BA1
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671BA1#FFFFFF#000000##FFFFFF
##671BA11.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.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: #671ba1;
/* rgb */ color: rgb(103, 27, 161);
/* oklch */ color: oklch(42.2% 0.196 304.4);
Tailwind
colors: {
  custom: {
    50: '#9863be',
    500: '#671ba1',
    950: '#000000',
  },
}
SCSS
$custom: #671ba1;
$custom-light: #9863be;
$custom-dark: #000000;
JSON
{
  "hex": "#671ba1",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 274.03,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4221,
    "c": 0.19606,
    "h": 304.4
  },
  "luminance": 0.06241
}

Semantic roles & 50–950 ramp

primary
#671BA1
secondary
#84C552
accent
#EE3A88
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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