#672E97#672E97

#672E97 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.3% C 0.165 H 305.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#672E97
RGBrgb(103, 46, 151)
HSLhsl(273, 53%, 39%)
HSVhsv(273, 70%, 59%)
CMYKcmyk(31.8%, 69.5%, 0%, 40.8%)
CIE-LABlab(31.97, 45.14, -47.43)
CIE-LCHlch(31.97, 65.48, 313.58°)
OKLaboklab(43.34% 0.0956 -0.1346)
OKLCHoklch(43.34% 0.165 305.4)
XYZxyz(12.1552, 7.0720, 29.9968)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672E97 #5E972E
analogous
#322E97 #672E97 #972E92
triadic
#672E97 #97672E #2E9767
tetradic
#672E97 #97322E #5E972E #2E9297
square
#672E97 #97322E #5E972E #2E9297
split-complementary
#672E97 #92972E #2E9732
monochromatic
#271139 #472068 #672E97 #873EC4 #A46DD2

Accessibility & contrast

On white

8.70
#672E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#672E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672E97
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672E97#FFFFFF#000000##FFFFFF
##672E971.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#094B95
Tritanopia (blue-blind)
#5E465F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #672e97;
/* rgb */ color: rgb(103, 46, 151);
/* oklch */ color: oklch(43.3% 0.165 305.4);
Tailwind
colors: {
  custom: {
    50: '#976bb6',
    500: '#672e97',
    950: '#000000',
  },
}
SCSS
$custom: #672e97;
$custom-light: #976bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#672e97",
  "rgb": {
    "r": 103,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 272.571,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43341,
    "c": 0.1651,
    "h": 305.4
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#672E97
secondary
#8DBA67
accent
#DD4B8E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #672E97

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

Preview Lab → · Contrast checker → · Palette generator →

#672E97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva