#672088#672088

#672088 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.167 H 312.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#672088
RGBrgb(103, 32, 136)
HSLhsl(281, 62%, 33%)
HSVhsv(281, 76%, 53%)
CMYKcmyk(24.3%, 76.5%, 0%, 46.7%)
CIE-LABlab(28.63, 47.95, -43.58)
CIE-LCHlch(28.63, 64.80, 317.73°)
OKLaboklab(40.61% 0.1127 -0.1232)
OKLCHoklch(40.61% 0.167 312.4)
XYZxyz(10.5532, 5.6945, 23.8310)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672088 #418820
analogous
#332088 #672088 #882075
triadic
#672088 #886720 #208867
tetradic
#672088 #883320 #418820 #207588
square
#672088 #883320 #418820 #207588
split-complementary
#672088 #758820 #208833
monochromatic
#1C0925 #411456 #672088 #8D2CBA #AA4DD5

Accessibility & contrast

On white

9.82
#672088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#672088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672088
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672088#FFFFFF#000000##FFFFFF
##6720881.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#124586
Tritanopia (blue-blind)
#633853
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #672088;
/* rgb */ color: rgb(103, 32, 136);
/* oklch */ color: oklch(40.6% 0.167 312.4);
Tailwind
colors: {
  custom: {
    50: '#9663ab',
    500: '#672088',
    950: '#000000',
  },
}
SCSS
$custom: #672088;
$custom-light: #9663ab;
$custom-dark: #000000;
JSON
{
  "hex": "#672088",
  "rgb": {
    "r": 103,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 280.962,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40613,
    "c": 0.16697,
    "h": 312.4
  },
  "luminance": 0.05694
}

Semantic roles & 50–950 ramp

primary
#672088
secondary
#6EB84C
accent
#E54376
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672088

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

Preview Lab → · Contrast checker → · Palette generator →

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