#671FA0#671FA0

#671FA0 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.192 H 304.4°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#671FA0
RGBrgb(103, 31, 160)
HSLhsl(273, 68%, 37%)
HSVhsv(273, 81%, 63%)
CMYKcmyk(35.6%, 80.6%, 0%, 37.3%)
CIE-LABlab(30.40, 53.76, -55.46)
CIE-LCHlch(30.40, 77.23, 314.11°)
OKLaboklab(42.46% 0.1081 -0.1581)
OKLCHoklch(42.46% 0.192 304.4)
XYZxyz(12.4272, 6.4016, 33.8318)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671FA0 #58A01F
analogous
#261FA0 #671FA0 #A01F99
triadic
#671FA0 #A0671F #1FA067
tetradic
#671FA0 #A0261F #58A01F #1F99A0
square
#671FA0 #A0261F #58A01F #1F99A0
split-complementary
#671FA0 #99A01F #1FA026
monochromatic
#250B39 #46156D #671FA0 #8829D3 #A45ADF

Accessibility & contrast

On white

9.21
#671FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#671FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671FA0
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671FA0#FFFFFF#000000##FFFFFF
##671FA01.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#5C4260
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #671fa0;
/* rgb */ color: rgb(103, 31, 160);
/* oklch */ color: oklch(42.5% 0.192 304.4);
Tailwind
colors: {
  custom: {
    50: '#9864bd',
    500: '#671fa0',
    950: '#000000',
  },
}
SCSS
$custom: #671fa0;
$custom-light: #9864bd;
$custom-dark: #000000;
JSON
{
  "hex": "#671fa0",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 273.488,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42457,
    "c": 0.19154,
    "h": 304.4
  },
  "luminance": 0.06402
}

Semantic roles & 50–950 ramp

primary
#671FA0
secondary
#87C358
accent
#EA3D8A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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