#671F93#671F93

#671F93 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.179 H 308.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#671F93
RGBrgb(103, 31, 147)
HSLhsl(277, 65%, 35%)
HSVhsv(277, 79%, 58%)
CMYKcmyk(29.9%, 78.9%, 0%, 42.4%)
CIE-LABlab(29.34, 50.79, -49.25)
CIE-LCHlch(29.34, 70.75, 315.89°)
OKLaboklab(41.38% 0.1114 -0.1399)
OKLCHoklch(41.38% 0.179 308.5)
XYZxyz(11.3489, 5.9703, 28.1526)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F93 #4B931F
analogous
#2D1F93 #671F93 #931F85
triadic
#671F93 #93671F #1F9367
tetradic
#671F93 #932D1F #4B931F #1F8593
square
#671F93 #932D1F #4B931F #1F8593
split-complementary
#671F93 #85931F #1F932D
monochromatic
#200A2E #441460 #671F93 #8A2AC6 #A752DA

Accessibility & contrast

On white

9.57
#671F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#671F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F93
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F93#FFFFFF#000000##FFFFFF
##671F931.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #671f93;
/* rgb */ color: rgb(103, 31, 147);
/* oklch */ color: oklch(41.4% 0.179 308.5);
Tailwind
colors: {
  custom: {
    50: '#9763b3',
    500: '#671f93',
    950: '#000000',
  },
}
SCSS
$custom: #671f93;
$custom-light: #9763b3;
$custom-dark: #000000;
JSON
{
  "hex": "#671f93",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 277.241,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41378,
    "c": 0.17882,
    "h": 308.5
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

primary
#671F93
secondary
#7ABE50
accent
#E84080
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671F93

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

Preview Lab → · Contrast checker → · Palette generator →

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