#671B8F#671B8F

#671B8F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.179 H 310.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#671B8F
RGBrgb(103, 27, 143)
HSLhsl(279, 68%, 33%)
HSVhsv(279, 81%, 56%)
CMYKcmyk(28%, 81.1%, 0%, 43.9%)
CIE-LABlab(28.51, 51.37, -48.11)
CIE-LCHlch(28.51, 70.38, 316.87°)
OKLaboklab(40.7% 0.1158 -0.1365)
OKLCHoklch(40.7% 0.179 310.3)
XYZxyz(10.9424, 5.6509, 26.4956)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B8F #438F1B
analogous
#2D1B8F #671B8F #8F1B7D
triadic
#671B8F #8F671B #1B8F67
tetradic
#671B8F #8F2D1B #438F1B #1B7D8F
square
#671B8F #8F2D1B #438F1B #1B7D8F
split-complementary
#671B8F #7D8F1B #1B8F2D
monochromatic
#1D0828 #42115C #671B8F #8C25C2 #A948DC

Accessibility & contrast

On white

9.86
#671B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#671B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B8F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B8F#FFFFFF#000000##FFFFFF
##671B8F1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#613855
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671b8f;
/* rgb */ color: rgb(103, 27, 143);
/* oklch */ color: oklch(40.7% 0.179 310.3);
Tailwind
colors: {
  custom: {
    50: '#9762b1',
    500: '#671b8f',
    950: '#000000',
  },
}
SCSS
$custom: #671b8f;
$custom-light: #9762b1;
$custom-dark: #000000;
JSON
{
  "hex": "#671b8f",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 279.31,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40702,
    "c": 0.17899,
    "h": 310.3
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

primary
#671B8F
secondary
#71BE48
accent
#EB3D79
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #671B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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