#672197#672197

#672197 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.181 H 307.0°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#672197
RGBrgb(103, 33, 151)
HSLhsl(276, 64%, 36%)
HSVhsv(276, 78%, 59%)
CMYKcmyk(31.8%, 78.1%, 0%, 40.8%)
CIE-LABlab(29.93, 50.93, -50.75)
CIE-LCHlch(29.93, 71.89, 315.10°)
OKLaboklab(41.89% 0.1087 -0.1443)
OKLCHoklch(41.89% 0.181 307)
XYZxyz(11.7221, 6.2058, 29.8525)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672197 #519721
analogous
#2C2197 #672197 #97218C
triadic
#672197 #976721 #219767
tetradic
#672197 #972C21 #519721 #218C97
square
#672197 #972C21 #519721 #218C97
split-complementary
#672197 #8C9721 #21972C
monochromatic
#220B33 #451665 #672197 #892CC9 #A558DA

Accessibility & contrast

On white

9.37
#672197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#672197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672197
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672197#FFFFFF#000000##FFFFFF
##6721971.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672197;
/* rgb */ color: rgb(103, 33, 151);
/* oklch */ color: oklch(41.9% 0.181 307.0);
Tailwind
colors: {
  custom: {
    50: '#9765b6',
    500: '#672197',
    950: '#000000',
  },
}
SCSS
$custom: #672197;
$custom-light: #9765b6;
$custom-dark: #000000;
JSON
{
  "hex": "#672197",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 275.593,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41891,
    "c": 0.18068,
    "h": 307
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#672197
secondary
#80BE55
accent
#E74184
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672197

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

Preview Lab → · Contrast checker → · Palette generator →

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