#671F9E#671F9E

#671F9E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.3% C 0.190 H 305.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#671F9E
RGBrgb(103, 31, 158)
HSLhsl(274, 67%, 37%)
HSVhsv(274, 80%, 62%)
CMYKcmyk(34.8%, 80.4%, 0%, 38%)
CIE-LABlab(30.24, 53.30, -54.51)
CIE-LCHlch(30.24, 76.24, 314.35°)
OKLaboklab(42.29% 0.1087 -0.1554)
OKLCHoklch(42.29% 0.19 305)
XYZxyz(12.2537, 6.3322, 32.9178)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F9E #569E1F
analogous
#281F9E #671F9E #9E1F96
triadic
#671F9E #9E671F #1F9E67
tetradic
#671F9E #9E281F #569E1F #1F969E
square
#671F9E #9E281F #569E1F #1F969E
split-complementary
#671F9E #969E1F #1F9E28
monochromatic
#240B38 #46156B #671F9E #8829D1 #A559DE

Accessibility & contrast

On white

9.27
#671F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#671F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F9E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F9E#FFFFFF#000000##FFFFFF
##671F9E1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#5C415F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #671f9e;
/* rgb */ color: rgb(103, 31, 158);
/* oklch */ color: oklch(42.3% 0.190 305.0);
Tailwind
colors: {
  custom: {
    50: '#9864bc',
    500: '#671f9e',
    950: '#000000',
  },
}
SCSS
$custom: #671f9e;
$custom-light: #9864bc;
$custom-dark: #000000;
JSON
{
  "hex": "#671f9e",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 274.016,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42287,
    "c": 0.18959,
    "h": 305
  },
  "luminance": 0.06332
}

Semantic roles & 50–950 ramp

primary
#671F9E
secondary
#85C256
accent
#EA3E88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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