#671BB0#671BB0

#671BB0 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.5% C 0.210 H 300.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#671BB0
RGBrgb(103, 27, 176)
HSLhsl(271, 73%, 40%)
HSVhsv(271, 85%, 69%)
CMYKcmyk(41.5%, 84.7%, 0%, 31%)
CIE-LABlab(31.35, 58.82, -63.54)
CIE-LCHlch(31.35, 86.59, 312.79°)
OKLaboklab(43.55% 0.1058 -0.1818)
OKLCHoklch(43.55% 0.21 300.2)
XYZxyz(13.8199, 6.8019, 41.6507)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671BB0 #64B01B
analogous
#1D1BB0 #671BB0 #B01BAF
triadic
#671BB0 #B0671B #1BB067
tetradic
#671BB0 #B01D1B #64B01B #1BAFB0
square
#671BB0 #B01D1B #64B01B #1BAFB0
split-complementary
#671BB0 #AFB01B #1BB01D
monochromatic
#290B46 #48137B #671BB0 #862ADE #A45FE6

Accessibility & contrast

On white

8.90
#671BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#671BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671BB0
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671BB0#FFFFFF#000000##FFFFFF
##671BB01.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#554769
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #671bb0;
/* rgb */ color: rgb(103, 27, 176);
/* oklch */ color: oklch(43.5% 0.210 300.2);
Tailwind
colors: {
  custom: {
    50: '#9a64c9',
    500: '#671bb0',
    950: '#000000',
  },
}
SCSS
$custom: #671bb0;
$custom-light: #9a64c9;
$custom-dark: #000000;
JSON
{
  "hex": "#671bb0",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 176
  },
  "hsl": {
    "h": 270.604,
    "s": 73.399,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43547,
    "c": 0.21038,
    "h": 300.2
  },
  "luminance": 0.06802
}

Semantic roles & 50–950 ramp

primary
#671BB0
secondary
#92CB5C
accent
#F03892
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #671BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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