#673161#673161

#673161 is a dark, moderate purple. Relative luminance 0.059; OKLCH L 40.3% C 0.102 H 331.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#673161
RGBrgb(103, 49, 97)
HSLhsl(307, 36%, 30%)
HSVhsv(307, 52%, 40%)
CMYKcmyk(0%, 52.4%, 5.8%, 59.6%)
CIE-LABlab(29.27, 31.49, -17.81)
CIE-LCHlch(29.27, 36.17, 330.51°)
OKLaboklab(40.32% 0.0896 -0.0485)
OKLCHoklch(40.32% 0.102 331.6)
XYZxyz(8.8494, 5.9438, 11.9881)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673161 #316737
analogous
#523167 #673161 #673146
triadic
#673161 #616731 #316167
tetradic
#673161 #675231 #316737 #314667
square
#673161 #675231 #316737 #314667
split-complementary
#673161 #466731 #316752
monochromatic
#150A14 #3E1D3A #673161 #904588 #B35FAA

Accessibility & contrast

On white

9.60
#673161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#673161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673161
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673161#FFFFFF#000000##FFFFFF
##6731611.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4063
Deuteranopia (green-blind)
#3F485F
Tritanopia (blue-blind)
#6B3544
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #673161;
/* rgb */ color: rgb(103, 49, 97);
/* oklch */ color: oklch(40.3% 0.102 331.6);
Tailwind
colors: {
  custom: {
    50: '#946b8e',
    500: '#673161',
    950: '#000000',
  },
}
SCSS
$custom: #673161;
$custom-light: #946b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#673161",
  "rgb": {
    "r": 103,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 306.667,
    "s": 35.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40318,
    "c": 0.10189,
    "h": 331.6
  },
  "luminance": 0.05943
}

Semantic roles & 50–950 ramp

primary
#673161
secondary
#5C9862
accent
#CC695C
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0D070C
muted
#7E7A7D

Preview Lab

Preview with #673161

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

Preview Lab → · Contrast checker → · Palette generator →

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