#671B9F#671B9F

#671B9F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.194 H 305.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#671B9F
RGBrgb(103, 27, 159)
HSLhsl(275, 71%, 36%)
HSVhsv(275, 83%, 62%)
CMYKcmyk(35.2%, 83%, 0%, 37.6%)
CIE-LABlab(29.84, 54.93, -55.77)
CIE-LCHlch(29.84, 78.28, 314.56°)
OKLaboklab(42.04% 0.1114 -0.159)
OKLCHoklch(42.04% 0.194 305)
XYZxyz(12.2420, 6.1707, 33.3403)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671B9F #539F1B
analogous
#251B9F #671B9F #9F1B95
triadic
#671B9F #9F671B #1B9F67
tetradic
#671B9F #9F251B #539F1B #1B959F
square
#671B9F #9F251B #539F1B #1B959F
split-complementary
#671B9F #959F1B #1B9F25
monochromatic
#230936 #45126B #671B9F #8924D3 #A553E2

Accessibility & contrast

On white

9.40
#671B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#671B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671B9F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671B9F#FFFFFF#000000##FFFFFF
##671B9F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#5C405F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671b9f;
/* rgb */ color: rgb(103, 27, 159);
/* oklch */ color: oklch(42.0% 0.194 305.0);
Tailwind
colors: {
  custom: {
    50: '#9862bc',
    500: '#671b9f',
    950: '#000000',
  },
}
SCSS
$custom: #671b9f;
$custom-light: #9862bc;
$custom-dark: #000000;
JSON
{
  "hex": "#671b9f",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 274.545,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42037,
    "c": 0.19416,
    "h": 305
  },
  "luminance": 0.06171
}

Semantic roles & 50–950 ramp

primary
#671B9F
secondary
#82C551
accent
#EE3A86
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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