#671BA8#671BA8

#671BA8 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.8% C 0.203 H 302.4°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#671BA8
RGBrgb(103, 27, 168)
HSLhsl(272, 72%, 38%)
HSVhsv(272, 84%, 66%)
CMYKcmyk(38.7%, 83.9%, 0%, 34.1%)
CIE-LABlab(30.63, 56.98, -59.93)
CIE-LCHlch(30.63, 82.69, 313.55°)
OKLaboklab(42.83% 0.1086 -0.1712)
OKLCHoklch(42.83% 0.203 302.4)
XYZxyz(13.0516, 6.4945, 37.6042)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671BA8 #5CA81B
analogous
#201BA8 #671BA8 #A81BA3
triadic
#671BA8 #A8671B #1BA867
tetradic
#671BA8 #A8201B #5CA81B #1BA3A8
square
#671BA8 #A8201B #5CA81B #1BA3A8
split-complementary
#671BA8 #A3A81B #1BA820
monochromatic
#260A3F #471373 #671BA8 #8724DC #A459E4

Accessibility & contrast

On white

9.13
#671BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#671BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671BA8
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671BA8#FFFFFF#000000##FFFFFF
##671BA81.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#594464
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #671ba8;
/* rgb */ color: rgb(103, 27, 168);
/* oklch */ color: oklch(42.8% 0.203 302.4);
Tailwind
colors: {
  custom: {
    50: '#9963c3',
    500: '#671ba8',
    950: '#000000',
  },
}
SCSS
$custom: #671ba8;
$custom-light: #9963c3;
$custom-dark: #000000;
JSON
{
  "hex": "#671ba8",
  "rgb": {
    "r": 103,
    "g": 27,
    "b": 168
  },
  "hsl": {
    "h": 272.34,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42826,
    "c": 0.20274,
    "h": 302.4
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

primary
#671BA8
secondary
#8BC857
accent
#EF398D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #671BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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