#672097#672097

#672097 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.182 H 307.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#672097
RGBrgb(103, 32, 151)
HSLhsl(276, 65%, 36%)
HSVhsv(276, 79%, 59%)
CMYKcmyk(31.8%, 78.8%, 0%, 40.8%)
CIE-LABlab(29.79, 51.31, -50.97)
CIE-LCHlch(29.79, 72.32, 315.20°)
OKLaboklab(41.8% 0.1096 -0.1449)
OKLCHoklch(41.8% 0.182 307.1)
XYZxyz(11.6947, 6.1511, 29.8433)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672097 #509720
analogous
#2B2097 #672097 #97208B
triadic
#672097 #976720 #209767
tetradic
#672097 #972B20 #509720 #208B97
square
#672097 #972B20 #509720 #208B97
split-complementary
#672097 #8B9720 #20972B
monochromatic
#220B32 #451564 #672097 #892BC9 #A656DB

Accessibility & contrast

On white

9.42
#672097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#672097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672097
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672097#FFFFFF#000000##FFFFFF
##6720971.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#5F3E5B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #672097;
/* rgb */ color: rgb(103, 32, 151);
/* oklch */ color: oklch(41.8% 0.182 307.1);
Tailwind
colors: {
  custom: {
    50: '#9764b6',
    500: '#672097',
    950: '#000000',
  },
}
SCSS
$custom: #672097;
$custom-light: #9764b6;
$custom-dark: #000000;
JSON
{
  "hex": "#672097",
  "rgb": {
    "r": 103,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 275.798,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41796,
    "c": 0.18172,
    "h": 307.1
  },
  "luminance": 0.06151
}

Semantic roles & 50–950 ramp

primary
#672097
secondary
#7FBF54
accent
#E84084
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672097

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

Preview Lab → · Contrast checker → · Palette generator →

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