#671C95#671C95

#671C95 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.184 H 308.1°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#671C95
RGBrgb(103, 28, 149)
HSLhsl(277, 68%, 35%)
HSVhsv(277, 81%, 58%)
CMYKcmyk(30.9%, 81.2%, 0%, 41.6%)
CIE-LABlab(29.12, 52.34, -50.83)
CIE-LCHlch(29.12, 72.96, 315.84°)
OKLaboklab(41.28% 0.1135 -0.1445)
OKLCHoklch(41.28% 0.184 308.1)
XYZxyz(11.4324, 5.8842, 28.9614)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671C95 #4A951C
analogous
#2A1C95 #671C95 #951C87
triadic
#671C95 #95671C #1C9567
tetradic
#671C95 #952A1C #4A951C #1C8795
square
#671C95 #952A1C #4A951C #1C8795
split-complementary
#671C95 #87951C #1C952A
monochromatic
#20092E #431261 #671C95 #8B26C9 #A74EDE

Accessibility & contrast

On white

9.65
#671C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#671C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671C95
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671C95#FFFFFF#000000##FFFFFF
##671C951.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#5F3C59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #671c95;
/* rgb */ color: rgb(103, 28, 149);
/* oklch */ color: oklch(41.3% 0.184 308.1);
Tailwind
colors: {
  custom: {
    50: '#9762b5',
    500: '#671c95',
    950: '#000000',
  },
}
SCSS
$custom: #671c95;
$custom-light: #9762b5;
$custom-dark: #000000;
JSON
{
  "hex": "#671c95",
  "rgb": {
    "r": 103,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 277.19,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41275,
    "c": 0.18373,
    "h": 308.1
  },
  "luminance": 0.05884
}

Semantic roles & 50–950 ramp

primary
#671C95
secondary
#79C04D
accent
#EB3D7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #671C95

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

Preview Lab → · Contrast checker → · Palette generator →

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