#672162#672162

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

Color values

HEX#672162
RGBrgb(103, 33, 98)
HSLhsl(304, 51%, 27%)
HSVhsv(304, 68%, 40%)
CMYKcmyk(0%, 68%, 4.9%, 59.6%)
CIE-LABlab(26.31, 39.81, -23.07)
CIE-LCHlch(26.31, 46.01, 329.91°)
OKLaboklab(38.17% 0.1132 -0.0634)
OKLCHoklch(38.17% 0.13 330.7)
XYZxyz(8.3419, 4.8537, 12.0504)
Luminance0.0485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672162 #216726
analogous
#492167 #672162 #67213F
triadic
#672162 #626721 #216267
tetradic
#672162 #674921 #216726 #213F67
square
#672162 #674921 #216726 #213F67
split-complementary
#672162 #3F6721 #216749
monochromatic
#170716 #391236 #672162 #95308E #C240B9

Accessibility & contrast

On white

10.66
#672162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672162
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672162#FFFFFF#000000##FFFFFF
##6721621.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3864
Deuteranopia (green-blind)
#354260
Tritanopia (blue-blind)
#6B283E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #672162;
/* rgb */ color: rgb(103, 33, 98);
/* oklch */ color: oklch(38.2% 0.130 330.7);
Tailwind
colors: {
  custom: {
    50: '#95628f',
    500: '#672162',
    950: '#000000',
  },
}
SCSS
$custom: #672162;
$custom-light: #95628f;
$custom-dark: #000000;
JSON
{
  "hex": "#672162",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 304.286,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.38165,
    "c": 0.1297,
    "h": 330.7
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#672162
secondary
#499B4F
accent
#DB574D
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E050C
muted
#7E7A7D

Preview Lab

Preview with #672162

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

Preview Lab → · Contrast checker → · Palette generator →

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