#671FB1#671FB1

#671FB1 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.9% C 0.208 H 299.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#671FB1
RGBrgb(103, 31, 177)
HSLhsl(270, 70%, 41%)
HSVhsv(270, 82%, 69%)
CMYKcmyk(41.8%, 82.5%, 0%, 30.6%)
CIE-LABlab(31.89, 57.73, -63.25)
CIE-LCHlch(31.89, 85.64, 312.39°)
OKLaboklab(43.95% 0.1029 -0.181)
OKLCHoklch(43.95% 0.208 299.6)
XYZxyz(14.0173, 7.0377, 42.2064)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671FB1 #69B11F
analogous
#1F20B1 #671FB1 #B01FB1
triadic
#671FB1 #B1671F #1FB167
tetradic
#671FB1 #B11F20 #69B11F #1FB1B0
square
#671FB1 #B11F20 #69B11F #1FB1B0
split-complementary
#671FB1 #B1B01F #20B11F
monochromatic
#2A0D49 #49167D #671FB1 #8532DB #A466E4

Accessibility & contrast

On white

8.72
#671FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#671FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671FB1
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671FB1#FFFFFF#000000##FFFFFF
##671FB11.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#004AAE
Tritanopia (blue-blind)
#55496A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #671fb1;
/* rgb */ color: rgb(103, 31, 177);
/* oklch */ color: oklch(43.9% 0.208 299.6);
Tailwind
colors: {
  custom: {
    50: '#9a65c9',
    500: '#671fb1',
    950: '#000000',
  },
}
SCSS
$custom: #671fb1;
$custom-light: #9a65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#671fb1",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 177
  },
  "hsl": {
    "h": 269.589,
    "s": 70.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43948,
    "c": 0.2082,
    "h": 299.6
  },
  "luminance": 0.07038
}

Semantic roles & 50–950 ramp

primary
#671FB1
secondary
#97CA62
accent
#ED3B95
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #671FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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