#671990#671990

#671990 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.182 H 310.1°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#671990
RGBrgb(103, 25, 144)
HSLhsl(279, 70%, 33%)
HSVhsv(279, 83%, 56%)
CMYKcmyk(28.5%, 82.6%, 0%, 43.5%)
CIE-LABlab(28.36, 52.26, -48.98)
CIE-LCHlch(28.36, 71.63, 316.86°)
OKLaboklab(40.62% 0.1171 -0.1391)
OKLCHoklch(40.62% 0.182 310.1)
XYZxyz(10.9742, 5.5927, 26.8815)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671990 #429019
analogous
#2C1990 #671990 #90197D
triadic
#671990 #906719 #199067
tetradic
#671990 #902C19 #429019 #197D90
square
#671990 #902C19 #429019 #197D90
split-complementary
#671990 #7D9019 #19902C
monochromatic
#1C0728 #42105C #671990 #8C22C4 #AA45DF

Accessibility & contrast

On white

9.91
#671990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#671990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671990
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671990#FFFFFF#000000##FFFFFF
##6719901.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#613856
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671990;
/* rgb */ color: rgb(103, 25, 144);
/* oklch */ color: oklch(40.6% 0.182 310.1);
Tailwind
colors: {
  custom: {
    50: '#9761b1',
    500: '#671990',
    950: '#000000',
  },
}
SCSS
$custom: #671990;
$custom-light: #9761b1;
$custom-dark: #000000;
JSON
{
  "hex": "#671990",
  "rgb": {
    "r": 103,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 279.328,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4062,
    "c": 0.1818,
    "h": 310.1
  },
  "luminance": 0.05592
}

Semantic roles & 50–950 ramp

primary
#671990
secondary
#6FC045
accent
#ED3B78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #671990

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

Preview Lab → · Contrast checker → · Palette generator →

#671990 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva