#671AA3#671AA3

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

Color values

HEX#671AA3
RGBrgb(103, 26, 163)
HSLhsl(274, 72%, 37%)
HSVhsv(274, 84%, 64%)
CMYKcmyk(36.8%, 84%, 0%, 36.1%)
CIE-LABlab(30.08, 56.16, -57.81)
CIE-LCHlch(30.08, 80.60, 314.17°)
OKLaboklab(42.31% 0.1109 -0.165)
OKLCHoklch(42.31% 0.199 303.9)
XYZxyz(12.5722, 6.2667, 35.1905)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671AA3 #56A31A
analogous
#231AA3 #671AA3 #A31A9B
triadic
#671AA3 #A3671A #1AA367
tetradic
#671AA3 #A3231A #56A31A #1A9BA3
square
#671AA3 #A3231A #56A31A #1A9BA3
split-complementary
#671AA3 #9BA31A #1AA323
monochromatic
#240939 #46126E #671AA3 #8822D8 #A554E4

Accessibility & contrast

On white

9.32
#671AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #671AA3
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671AA3#FFFFFF#000000##FFFFFF
##671AA31.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#5B4161
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #671aa3;
/* rgb */ color: rgb(103, 26, 163);
/* oklch */ color: oklch(42.3% 0.199 303.9);
Tailwind
colors: {
  custom: {
    50: '#9962bf',
    500: '#671aa3',
    950: '#000000',
  },
}
SCSS
$custom: #671aa3;
$custom-light: #9962bf;
$custom-dark: #000000;
JSON
{
  "hex": "#671aa3",
  "rgb": {
    "r": 103,
    "g": 26,
    "b": 163
  },
  "hsl": {
    "h": 273.723,
    "s": 72.487,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42308,
    "c": 0.19878,
    "h": 303.9
  },
  "luminance": 0.06267
}

Semantic roles & 50–950 ramp

primary
#671AA3
secondary
#85C752
accent
#EF3989
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #671AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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