#672988#672988

#672988 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.156 H 311.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#672988
RGBrgb(103, 41, 136)
HSLhsl(279, 54%, 35%)
HSVhsv(279, 70%, 53%)
CMYKcmyk(24.3%, 69.9%, 0%, 46.7%)
CIE-LABlab(30.03, 44.00, -41.33)
CIE-LCHlch(30.03, 60.36, 316.80°)
OKLaboklab(41.61% 0.103 -0.1167)
OKLCHoklch(41.61% 0.156 311.4)
XYZxyz(10.8296, 6.2473, 23.9231)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672988 #4A8829
analogous
#382988 #672988 #88297A
triadic
#672988 #886729 #298867
tetradic
#672988 #883829 #4A8829 #297A88
square
#672988 #883829 #4A8829 #297A88
split-complementary
#672988 #7A8829 #298838
monochromatic
#200D2A #431B59 #672988 #8B37B7 #A75DCE

Accessibility & contrast

On white

9.34
#672988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#672988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672988
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672988#FFFFFF#000000##FFFFFF
##6729881.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#1E4886
Tritanopia (blue-blind)
#633D55
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #672988;
/* rgb */ color: rgb(103, 41, 136);
/* oklch */ color: oklch(41.6% 0.156 311.4);
Tailwind
colors: {
  custom: {
    50: '#9668ab',
    500: '#672988',
    950: '#000000',
  },
}
SCSS
$custom: #672988;
$custom-light: #9668ab;
$custom-dark: #000000;
JSON
{
  "hex": "#672988",
  "rgb": {
    "r": 103,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 279.158,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41609,
    "c": 0.15562,
    "h": 311.4
  },
  "luminance": 0.06247
}

Semantic roles & 50–950 ramp

primary
#672988
secondary
#79B459
accent
#DD4B7E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672988

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

Preview Lab → · Contrast checker → · Palette generator →

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