#671BA0#671BA0

#671BA0 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.195 H 304.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#671BA0
RGBrgb(103, 27, 160)
HSLhsl(274, 71%, 37%)
HSVhsv(274, 83%, 63%)
CMYKcmyk(35.6%, 83.1%, 0%, 37.3%)
CIE-LABlab(29.93, 55.15, -56.24)
CIE-LCHlch(29.93, 78.77, 314.44°)
OKLaboklab(42.12% 0.1111 -0.1604)
OKLCHoklch(42.12% 0.195 304.7)
XYZxyz(12.3292, 6.2056, 33.7992)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671BA0 #54A01B
analogous
#251BA0 #671BA0 #A01B97
triadic
#671BA0 #A0671B #1BA067
tetradic
#671BA0 #A0251B #54A01B #1B97A0
square
#671BA0 #A0251B #54A01B #1B97A0
split-complementary
#671BA0 #97A01B #1BA025
monochromatic
#240937 #45126C #671BA0 #8924D4 #A553E2

Accessibility & contrast

On white

9.37
#671BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#671BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671BA0
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671BA0#FFFFFF#000000##FFFFFF
##671BA01.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#5C405F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #671ba0;
/* rgb */ color: rgb(103, 27, 160);
/* oklch */ color: oklch(42.1% 0.195 304.7);
Tailwind
colors: {
  custom: {
    50: '#9863bd',
    500: '#671ba0',
    950: '#000000',
  },
}
SCSS
$custom: #671ba0;
$custom-light: #9863bd;
$custom-dark: #000000;
JSON
{
  "hex": "#671ba0",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 274.286,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42124,
    "c": 0.19512,
    "h": 304.7
  },
  "luminance": 0.06205
}

Semantic roles & 50–950 ramp

primary
#671BA0
secondary
#83C552
accent
#EE3A87
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #671BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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