#671F9B#671F9B

#671F9B is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.187 H 305.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#671F9B
RGBrgb(103, 31, 155)
HSLhsl(275, 67%, 36%)
HSVhsv(275, 80%, 61%)
CMYKcmyk(33.5%, 80%, 0%, 39.2%)
CIE-LABlab(29.99, 52.61, -53.09)
CIE-LCHlch(29.99, 74.74, 314.74°)
OKLaboklab(42.04% 0.1095 -0.1512)
OKLCHoklch(42.04% 0.187 305.9)
XYZxyz(11.9986, 6.2302, 31.5744)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671F9B #539B1F
analogous
#291F9B #671F9B #9B1F91
triadic
#671F9B #9B671F #1F9B67
tetradic
#671F9B #9B291F #539B1F #1F919B
square
#671F9B #9B291F #539B1F #1F919B
split-complementary
#671F9B #919B1F #1F9B29
monochromatic
#230B35 #451568 #671F9B #8929CE #A557DD

Accessibility & contrast

On white

9.35
#671F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#671F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671F9B
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671F9B#FFFFFF#000000##FFFFFF
##671F9B1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#5D405D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #671f9b;
/* rgb */ color: rgb(103, 31, 155);
/* oklch */ color: oklch(42.0% 0.187 305.9);
Tailwind
colors: {
  custom: {
    50: '#9864b9',
    500: '#671f9b',
    950: '#000000',
  },
}
SCSS
$custom: #671f9b;
$custom-light: #9864b9;
$custom-dark: #000000;
JSON
{
  "hex": "#671f9b",
  "rgb": {
    "r": 103,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 274.839,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42035,
    "c": 0.18665,
    "h": 305.9
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#671F9B
secondary
#82C155
accent
#EA3E86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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