#671EA8#671EA8

#671EA8 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 43.1% C 0.200 H 302.1°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#671EA8
RGBrgb(103, 30, 168)
HSLhsl(272, 70%, 39%)
HSVhsv(272, 82%, 66%)
CMYKcmyk(38.7%, 82.1%, 0%, 34.1%)
CIE-LABlab(30.97, 55.97, -59.37)
CIE-LCHlch(30.97, 81.59, 313.31°)
OKLaboklab(43.06% 0.1065 -0.1696)
OKLCHoklch(43.06% 0.2 302.1)
XYZxyz(13.1240, 6.6392, 37.6283)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671EA8 #5FA81E
analogous
#221EA8 #671EA8 #A81EA4
triadic
#671EA8 #A8671E #1EA867
tetradic
#671EA8 #A8221E #5FA81E #1EA4A8
square
#671EA8 #A8221E #5FA81E #1EA4A8
split-complementary
#671EA8 #A4A81E #1EA822
monochromatic
#270B40 #471574 #671EA8 #872AD9 #A45EE2

Accessibility & contrast

On white

9.02
#671EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#671EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671EA8
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671EA8#FFFFFF#000000##FFFFFF
##671EA81.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#594564
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #671ea8;
/* rgb */ color: rgb(103, 30, 168);
/* oklch */ color: oklch(43.1% 0.200 302.1);
Tailwind
colors: {
  custom: {
    50: '#9964c3',
    500: '#671ea8',
    950: '#000000',
  },
}
SCSS
$custom: #671ea8;
$custom-light: #9964c3;
$custom-dark: #000000;
JSON
{
  "hex": "#671ea8",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 271.739,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43064,
    "c": 0.20026,
    "h": 302.1
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#671EA8
secondary
#8EC75B
accent
#ED3B8F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #671EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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