#672163#672163

#672163 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.2% C 0.131 H 330.1°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#672163
RGBrgb(103, 33, 99)
HSLhsl(303, 51%, 27%)
HSVhsv(303, 68%, 40%)
CMYKcmyk(0%, 68%, 3.9%, 59.6%)
CIE-LABlab(26.37, 40.00, -23.63)
CIE-LCHlch(26.37, 46.46, 329.42°)
OKLaboklab(38.22% 0.1132 -0.065)
OKLCHoklch(38.22% 0.131 330.1)
XYZxyz(8.3895, 4.8727, 12.3006)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672163 #216725
analogous
#482167 #672163 #672140
triadic
#672163 #636721 #216367
tetradic
#672163 #674821 #216725 #214067
square
#672163 #674821 #216725 #214067
split-complementary
#672163 #406721 #216748
monochromatic
#170716 #391236 #672163 #953090 #C240BB

Accessibility & contrast

On white

10.64
#672163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#672163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672163
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672163#FFFFFF#000000##FFFFFF
##6721631.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3865
Deuteranopia (green-blind)
#344261
Tritanopia (blue-blind)
#6B293F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #672163;
/* rgb */ color: rgb(103, 33, 99);
/* oklch */ color: oklch(38.2% 0.131 330.1);
Tailwind
colors: {
  custom: {
    50: '#95628f',
    500: '#672163',
    950: '#000000',
  },
}
SCSS
$custom: #672163;
$custom-light: #95628f;
$custom-dark: #000000;
JSON
{
  "hex": "#672163",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 99
  },
  "hsl": {
    "h": 303.429,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.38223,
    "c": 0.13058,
    "h": 330.1
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#672163
secondary
#499B4E
accent
#DB554D
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E050C
muted
#7E7A7D

Preview Lab

Preview with #672163

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

Preview Lab → · Contrast checker → · Palette generator →

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