#672168#672168

#672168 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.5% C 0.135 H 327.2°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#672168
RGBrgb(103, 33, 104)
HSLhsl(299, 52%, 27%)
HSVhsv(299, 68%, 41%)
CMYKcmyk(1%, 68.3%, 0%, 59.2%)
CIE-LABlab(26.65, 40.93, -26.43)
CIE-LCHlch(26.65, 48.73, 327.15°)
OKLaboklab(38.52% 0.1136 -0.0731)
OKLCHoklch(38.52% 0.135 327.2)
XYZxyz(8.6359, 4.9713, 13.5987)
Luminance0.0497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672168 #226821
analogous
#442168 #672168 #682146
triadic
#672168 #686721 #216867
tetradic
#672168 #684421 #226821 #214668
square
#672168 #684421 #226821 #214668
split-complementary
#672168 #466821 #216844
monochromatic
#170717 #39123A #672168 #953096 #C141C3

Accessibility & contrast

On white

10.53
#672168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#672168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672168
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672168#FFFFFF#000000##FFFFFF
##6721681.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17396A
Deuteranopia (green-blind)
#324266
Tritanopia (blue-blind)
#6A2B41
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #672168;
/* rgb */ color: rgb(103, 33, 104);
/* oklch */ color: oklch(38.5% 0.135 327.2);
Tailwind
colors: {
  custom: {
    50: '#956293',
    500: '#672168',
    950: '#000000',
  },
}
SCSS
$custom: #672168;
$custom-light: #956293;
$custom-dark: #000000;
JSON
{
  "hex": "#672168",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 299.155,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38521,
    "c": 0.13508,
    "h": 327.2
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

primary
#672168
secondary
#4A9C49
accent
#DB4D4F
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E050D
muted
#7E7A7E

Preview Lab

Preview with #672168

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

Preview Lab → · Contrast checker → · Palette generator →

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