#671992#671992

#671992 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.184 H 309.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#671992
RGBrgb(103, 25, 146)
HSLhsl(279, 71%, 34%)
HSVhsv(279, 83%, 57%)
CMYKcmyk(29.5%, 82.9%, 0%, 42.7%)
CIE-LABlab(28.52, 52.70, -49.95)
CIE-LCHlch(28.52, 72.61, 316.53°)
OKLaboklab(40.78% 0.1166 -0.1419)
OKLCHoklch(40.78% 0.184 309.4)
XYZxyz(11.1284, 5.6544, 27.6937)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671992 #449219
analogous
#2B1992 #671992 #921980
triadic
#671992 #926719 #199267
tetradic
#671992 #922B19 #449219 #198092
square
#671992 #922B19 #449219 #198092
split-complementary
#671992 #809219 #19922B
monochromatic
#1D0729 #42105E #671992 #8C22C6 #A946DF

Accessibility & contrast

On white

9.86
#671992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#671992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671992
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671992#FFFFFF#000000##FFFFFF
##6719921.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#004490
Tritanopia (blue-blind)
#603957
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #671992;
/* rgb */ color: rgb(103, 25, 146);
/* oklch */ color: oklch(40.8% 0.184 309.4);
Tailwind
colors: {
  custom: {
    50: '#9761b3',
    500: '#671992',
    950: '#000000',
  },
}
SCSS
$custom: #671992;
$custom-light: #9761b3;
$custom-dark: #000000;
JSON
{
  "hex": "#671992",
  "rgb": {
    "r": 103,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 278.678,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40784,
    "c": 0.18366,
    "h": 309.4
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

primary
#671992
secondary
#72C146
accent
#EE3A7A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #671992

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

Preview Lab → · Contrast checker → · Palette generator →

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