#671BB4#671BB4

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

Color values

HEX#671BB4
RGBrgb(103, 27, 180)
HSLhsl(270, 74%, 41%)
HSVhsv(270, 85%, 71%)
CMYKcmyk(42.8%, 85%, 0%, 29.4%)
CIE-LABlab(31.72, 59.75, -65.32)
CIE-LCHlch(31.72, 88.53, 312.45°)
OKLaboklab(43.91% 0.1044 -0.187)
OKLCHoklch(43.91% 0.214 299.2)
XYZxyz(14.2216, 6.9625, 43.7658)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671BB4 #68B41B
analogous
#1B1BB4 #671BB4 #B31BB4
triadic
#671BB4 #B4671B #1BB467
tetradic
#671BB4 #B41B1B #68B41B #1BB4B3
square
#671BB4 #B41B1B #68B41B #1BB4B3
split-complementary
#671BB4 #B4B31B #1BB41B
monochromatic
#2A0B4A #49137F #671BB4 #862DDF #A462E7

Accessibility & contrast

On white

8.78
#671BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#671BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671BB4
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671BB4#FFFFFF#000000##FFFFFF
##671BB41.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#54496B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #671bb4;
/* rgb */ color: rgb(103, 27, 180);
/* oklch */ color: oklch(43.9% 0.214 299.2);
Tailwind
colors: {
  custom: {
    50: '#9a64cc',
    500: '#671bb4',
    950: '#000000',
  },
}
SCSS
$custom: #671bb4;
$custom-light: #9a64cc;
$custom-dark: #000000;
JSON
{
  "hex": "#671bb4",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 269.804,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43914,
    "c": 0.2142,
    "h": 299.2
  },
  "luminance": 0.06963
}

Semantic roles & 50–950 ramp

primary
#671BB4
secondary
#96CC5F
accent
#F13795
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #671BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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