#671B8E#671B8E

#671B8E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.178 H 310.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#671B8E
RGBrgb(103, 27, 142)
HSLhsl(280, 68%, 33%)
HSVhsv(280, 81%, 56%)
CMYKcmyk(27.5%, 81%, 0%, 44.3%)
CIE-LABlab(28.43, 51.15, -47.62)
CIE-LCHlch(28.43, 69.89, 317.04°)
OKLaboklab(40.62% 0.116 -0.1351)
OKLCHoklch(40.62% 0.178 310.7)
XYZxyz(10.8670, 5.6207, 26.0984)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B8E #428E1B
analogous
#2D1B8E #671B8E #8E1B7B
triadic
#671B8E #8E671B #1B8E67
tetradic
#671B8E #8E2D1B #428E1B #1B7B8E
square
#671B8E #8E2D1B #428E1B #1B7B8E
split-complementary
#671B8E #7B8E1B #1B8E2D
monochromatic
#1C0727 #42115B #671B8E #8C25C1 #AA47DC

Accessibility & contrast

On white

9.89
#671B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#671B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B8E
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B8E#FFFFFF#000000##FFFFFF
##671B8E1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#623855
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671b8e;
/* rgb */ color: rgb(103, 27, 142);
/* oklch */ color: oklch(40.6% 0.178 310.7);
Tailwind
colors: {
  custom: {
    50: '#9761b0',
    500: '#671b8e',
    950: '#000000',
  },
}
SCSS
$custom: #671b8e;
$custom-light: #9761b0;
$custom-dark: #000000;
JSON
{
  "hex": "#671b8e",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 279.652,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40621,
    "c": 0.17805,
    "h": 310.7
  },
  "luminance": 0.0562
}

Semantic roles & 50–950 ramp

primary
#671B8E
secondary
#6FBE47
accent
#EB3D78
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #671B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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