#672974#672974

#672974 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.3% C 0.135 H 320.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#672974
RGBrgb(103, 41, 116)
HSLhsl(290, 48%, 31%)
HSVhsv(290, 65%, 45%)
CMYKcmyk(11.2%, 64.7%, 0%, 54.5%)
CIE-LABlab(28.72, 39.58, -30.85)
CIE-LCHlch(28.72, 50.18, 322.07°)
OKLaboklab(40.25% 0.1037 -0.086)
OKLCHoklch(40.25% 0.135 320.3)
XYZxyz(9.5385, 5.7308, 17.1233)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672974 #367429
analogous
#412974 #672974 #74295B
triadic
#672974 #746729 #297467
tetradic
#672974 #744129 #367429 #295B74
square
#672974 #744129 #367429 #295B74
split-complementary
#672974 #5B7429 #297441
monochromatic
#17091A #3F1947 #672974 #8F39A1 #B055C3

Accessibility & contrast

On white

9.79
#672974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#672974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672974
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672974#FFFFFF#000000##FFFFFF
##6729741.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163F76
Deuteranopia (green-blind)
#304672
Tritanopia (blue-blind)
#68354A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #672974;
/* rgb */ color: rgb(103, 41, 116);
/* oklch */ color: oklch(40.3% 0.135 320.3);
Tailwind
colors: {
  custom: {
    50: '#95679c',
    500: '#672974',
    950: '#000000',
  },
}
SCSS
$custom: #672974;
$custom-light: #95679c;
$custom-dark: #000000;
JSON
{
  "hex": "#672974",
  "rgb": {
    "r": 103,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 289.6,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4025,
    "c": 0.13473,
    "h": 320.3
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#672974
secondary
#61A653
accent
#D75068
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #672974

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

Preview Lab → · Contrast checker → · Palette generator →

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