#672987#672987

#672987 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.155 H 311.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#672987
RGBrgb(103, 41, 135)
HSLhsl(280, 53%, 35%)
HSVhsv(280, 70%, 53%)
CMYKcmyk(23.7%, 69.6%, 0%, 47.1%)
CIE-LABlab(29.96, 43.77, -40.82)
CIE-LCHlch(29.96, 59.85, 317.00°)
OKLaboklab(41.54% 0.1031 -0.1152)
OKLCHoklch(41.54% 0.155 311.8)
XYZxyz(10.7588, 6.2190, 23.5506)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672987 #498729
analogous
#382987 #672987 #872978
triadic
#672987 #876729 #298767
tetradic
#672987 #873829 #498729 #297887
square
#672987 #873829 #498729 #297887
split-complementary
#672987 #788729 #298738
monochromatic
#1F0C29 #431B58 #672987 #8B37B6 #A75DCE

Accessibility & contrast

On white

9.36
#672987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#672987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672987
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672987#FFFFFF#000000##FFFFFF
##6729871.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#1F4885
Tritanopia (blue-blind)
#633C54
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #672987;
/* rgb */ color: rgb(103, 41, 135);
/* oklch */ color: oklch(41.5% 0.155 311.8);
Tailwind
colors: {
  custom: {
    50: '#9668aa',
    500: '#672987',
    950: '#000000',
  },
}
SCSS
$custom: #672987;
$custom-light: #9668aa;
$custom-dark: #000000;
JSON
{
  "hex": "#672987",
  "rgb": {
    "r": 103,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 279.574,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41537,
    "c": 0.15456,
    "h": 311.8
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#672987
secondary
#77B359
accent
#DD4B7D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672987

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

Preview Lab → · Contrast checker → · Palette generator →

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