#671BAA#671BAA

#671BAA is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 43.0% C 0.205 H 301.8°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#671BAA
RGBrgb(103, 27, 170)
HSLhsl(272, 73%, 39%)
HSVhsv(272, 84%, 67%)
CMYKcmyk(39.4%, 84.1%, 0%, 33.3%)
CIE-LABlab(30.81, 57.44, -60.84)
CIE-LCHlch(30.81, 83.67, 313.35°)
OKLaboklab(43% 0.1079 -0.1739)
OKLCHoklch(43% 0.205 301.8)
XYZxyz(13.2394, 6.5696, 38.5930)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671BAA #5EAA1B
analogous
#1F1BAA #671BAA #AA1BA5
triadic
#671BAA #AA671B #1BAA67
tetradic
#671BAA #AA1F1B #5EAA1B #1BA5AA
square
#671BAA #AA1F1B #5EAA1B #1BA5AA
split-complementary
#671BAA #A5AA1B #1BAA1F
monochromatic
#270A40 #471375 #671BAA #8726DC #A45BE5

Accessibility & contrast

On white

9.08
#671BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671BAA
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671BAA#FFFFFF#000000##FFFFFF
##671BAA1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#584565
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #671baa;
/* rgb */ color: rgb(103, 27, 170);
/* oklch */ color: oklch(43.0% 0.205 301.8);
Tailwind
colors: {
  custom: {
    50: '#9963c4',
    500: '#671baa',
    950: '#000000',
  },
}
SCSS
$custom: #671baa;
$custom-light: #9963c4;
$custom-dark: #000000;
JSON
{
  "hex": "#671baa",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 170
  },
  "hsl": {
    "h": 271.888,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43004,
    "c": 0.20465,
    "h": 301.8
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#671BAA
secondary
#8DC958
accent
#EF398E
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #671BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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