#671F94#671F94

#671F94 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.180 H 308.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#671F94
RGBrgb(103, 31, 148)
HSLhsl(277, 65%, 35%)
HSVhsv(277, 79%, 58%)
CMYKcmyk(30.4%, 79.1%, 0%, 42%)
CIE-LABlab(29.42, 51.02, -49.73)
CIE-LCHlch(29.42, 71.25, 315.73°)
OKLaboklab(41.46% 0.1112 -0.1413)
OKLCHoklch(41.46% 0.18 308.2)
XYZxyz(11.4277, 6.0018, 28.5677)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F94 #4C941F
analogous
#2C1F94 #671F94 #941F86
triadic
#671F94 #94671F #1F9467
tetradic
#671F94 #942C1F #4C941F #1F8694
square
#671F94 #942C1F #4C941F #1F8694
split-complementary
#671F94 #86941F #1F942C
monochromatic
#210A2F #441461 #671F94 #8A2AC7 #A653DB

Accessibility & contrast

On white

9.54
#671F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#671F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F94
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F94#FFFFFF#000000##FFFFFF
##671F941.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#603C59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #671f94;
/* rgb */ color: rgb(103, 31, 148);
/* oklch */ color: oklch(41.5% 0.180 308.2);
Tailwind
colors: {
  custom: {
    50: '#9763b4',
    500: '#671f94',
    950: '#000000',
  },
}
SCSS
$custom: #671f94;
$custom-light: #9763b4;
$custom-dark: #000000;
JSON
{
  "hex": "#671f94",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 276.923,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41459,
    "c": 0.1798,
    "h": 308.2
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#671F94
secondary
#7BBE51
accent
#E83F80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671F94

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

Preview Lab → · Contrast checker → · Palette generator →

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