#671EB3#671EB3

#671EB3 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.211 H 299.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#671EB3
RGBrgb(103, 30, 179)
HSLhsl(269, 71%, 41%)
HSVhsv(269, 83%, 70%)
CMYKcmyk(42.5%, 83.2%, 0%, 29.8%)
CIE-LABlab(31.96, 58.55, -64.34)
CIE-LCHlch(31.96, 86.99, 312.30°)
OKLaboklab(44.05% 0.1029 -0.1842)
OKLCHoklch(44.05% 0.211 299.2)
XYZxyz(14.1924, 7.0666, 43.2553)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671EB3 #6AB31E
analogous
#1E1FB3 #671EB3 #B11EB3
triadic
#671EB3 #B3671E #1EB367
tetradic
#671EB3 #B31E1F #6AB31E #1EB3B1
square
#671EB3 #B31E1F #6AB31E #1EB3B1
split-complementary
#671EB3 #B3B11E #1FB31E
monochromatic
#2B0C4A #49157F #671EB3 #8532DD #A466E5

Accessibility & contrast

On white

8.70
#671EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#671EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671EB3
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671EB3#FFFFFF#000000##FFFFFF
##671EB31.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#544A6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #671eb3;
/* rgb */ color: rgb(103, 30, 179);
/* oklch */ color: oklch(44.0% 0.211 299.2);
Tailwind
colors: {
  custom: {
    50: '#9a65cb',
    500: '#671eb3',
    950: '#000000',
  },
}
SCSS
$custom: #671eb3;
$custom-light: #9a65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#671eb3",
  "rgb": {
    "r": 103,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 269.396,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44049,
    "c": 0.21097,
    "h": 299.2
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#671EB3
secondary
#97CB62
accent
#EE3A96
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #671EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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