#671CA9#671CA9

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

Color values

HEX#671CA9
RGBrgb(103, 28, 169)
HSLhsl(272, 72%, 39%)
HSVhsv(272, 83%, 66%)
CMYKcmyk(39.1%, 83.4%, 0%, 33.7%)
CIE-LABlab(30.83, 56.88, -60.20)
CIE-LCHlch(30.83, 82.82, 313.37°)
OKLaboklab(42.99% 0.1076 -0.172)
OKLCHoklch(42.99% 0.203 302)
XYZxyz(13.1685, 6.5786, 38.1045)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671CA9 #5EA91C
analogous
#201CA9 #671CA9 #A91CA4
triadic
#671CA9 #A9671C #1CA967
tetradic
#671CA9 #A9201C #5EA91C #1CA4A9
square
#671CA9 #A9201C #5EA91C #1CA4A9
split-complementary
#671CA9 #A4A91C #1CA920
monochromatic
#270B40 #471374 #671CA9 #8727DB #A45BE4

Accessibility & contrast

On white

9.07
#671CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671CA9
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671CA9#FFFFFF#000000##FFFFFF
##671CA91.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#584565
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #671ca9;
/* rgb */ color: rgb(103, 28, 169);
/* oklch */ color: oklch(43.0% 0.203 302.0);
Tailwind
colors: {
  custom: {
    50: '#9963c4',
    500: '#671ca9',
    950: '#000000',
  },
}
SCSS
$custom: #671ca9;
$custom-light: #9963c4;
$custom-dark: #000000;
JSON
{
  "hex": "#671ca9",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 271.915,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42992,
    "c": 0.2029,
    "h": 302
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#671CA9
secondary
#8DC859
accent
#EE398E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #671CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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