#671994#671994

#671994 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.186 H 308.7°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#671994
RGBrgb(103, 25, 148)
HSLhsl(278, 71%, 34%)
HSVhsv(278, 83%, 58%)
CMYKcmyk(30.4%, 83.1%, 0%, 42%)
CIE-LABlab(28.69, 53.13, -50.92)
CIE-LCHlch(28.69, 73.59, 316.22°)
OKLaboklab(40.95% 0.1161 -0.1447)
OKLCHoklch(40.95% 0.186 308.7)
XYZxyz(11.2853, 5.7171, 28.5202)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#671994 #469419
analogous
#2A1994 #671994 #941984
triadic
#671994 #946719 #199467
tetradic
#671994 #942A19 #469419 #198494
square
#671994 #942A19 #469419 #198494
split-complementary
#671994 #849419 #19942A
monochromatic
#1E072B #431060 #671994 #8B22C8 #A847E0

Accessibility & contrast

On white

9.80
#671994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#671994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #671994
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##671994#FFFFFF#000000##FFFFFF
##6719941.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#603A58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #671994;
/* rgb */ color: rgb(103, 25, 148);
/* oklch */ color: oklch(40.9% 0.186 308.7);
Tailwind
colors: {
  custom: {
    50: '#9761b4',
    500: '#671994',
    950: '#000000',
  },
}
SCSS
$custom: #671994;
$custom-light: #9761b4;
$custom-dark: #000000;
JSON
{
  "hex": "#671994",
  "rgb": {
    "r": 103,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 278.049,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40949,
    "c": 0.18553,
    "h": 308.7
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#671994
secondary
#74C147
accent
#EE3A7C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #671994

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

Preview Lab → · Contrast checker → · Palette generator →

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