#672997#672997

#672997 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.172 H 306.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#672997
RGBrgb(103, 41, 151)
HSLhsl(274, 57%, 38%)
HSVhsv(274, 73%, 59%)
CMYKcmyk(31.8%, 72.8%, 0%, 40.8%)
CIE-LABlab(31.12, 47.51, -48.80)
CIE-LCHlch(31.12, 68.11, 314.23°)
OKLaboklab(42.74% 0.101 -0.1386)
OKLCHoklch(42.74% 0.172 306.1)
XYZxyz(11.9711, 6.7039, 29.9355)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672997 #599729
analogous
#302997 #672997 #972990
triadic
#672997 #976729 #299767
tetradic
#672997 #973029 #599729 #299097
square
#672997 #973029 #599729 #299097
split-complementary
#672997 #909729 #299730
monochromatic
#250F37 #461C67 #672997 #8836C7 #A465D5

Accessibility & contrast

On white

8.97
#672997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#672997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672997
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672997#FFFFFF#000000##FFFFFF
##6729971.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#5F435D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672997;
/* rgb */ color: rgb(103, 41, 151);
/* oklch */ color: oklch(42.7% 0.172 306.1);
Tailwind
colors: {
  custom: {
    50: '#9768b6',
    500: '#672997',
    950: '#000000',
  },
}
SCSS
$custom: #672997;
$custom-light: #9768b6;
$custom-dark: #000000;
JSON
{
  "hex": "#672997",
  "rgb": {
    "r": 103,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 273.818,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42737,
    "c": 0.17152,
    "h": 306.1
  },
  "luminance": 0.06704
}

Semantic roles & 50–950 ramp

primary
#672997
secondary
#88BB61
accent
#E1478A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672997

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

Preview Lab → · Contrast checker → · Palette generator →

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