#672F7E#672F7E

#672F7E is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.7% C 0.136 H 314.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#672F7E
RGBrgb(103, 47, 126)
HSLhsl(283, 46%, 34%)
HSVhsv(283, 63%, 49%)
CMYKcmyk(18.3%, 62.7%, 0%, 50.6%)
CIE-LABlab(30.46, 38.72, -34.40)
CIE-LCHlch(30.46, 51.79, 318.38°)
OKLaboklab(41.71% 0.0959 -0.0964)
OKLCHoklch(41.71% 0.136 314.8)
XYZxyz(10.3753, 6.4233, 20.4279)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672F7E #467E2F
analogous
#402F7E #672F7E #7E2F6E
triadic
#672F7E #7E672F #2F7E67
tetradic
#672F7E #7E402F #467E2F #2F6E7E
square
#672F7E #7E402F #467E2F #2F6E7E
split-complementary
#672F7E #6E7E2F #2F7E40
monochromatic
#1E0E25 #431E51 #672F7E #8B40AB #A863C5

Accessibility & contrast

On white

9.19
#672F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#672F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672F7E
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672F7E#FFFFFF#000000##FFFFFF
##672F7E1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164480
Deuteranopia (green-blind)
#2D497C
Tritanopia (blue-blind)
#653D52
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672f7e;
/* rgb */ color: rgb(103, 47, 126);
/* oklch */ color: oklch(41.7% 0.136 314.8);
Tailwind
colors: {
  custom: {
    50: '#956ba4',
    500: '#672f7e',
    950: '#000000',
  },
}
SCSS
$custom: #672f7e;
$custom-light: #956ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#672f7e",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 282.532,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41707,
    "c": 0.13596,
    "h": 314.8
  },
  "luminance": 0.06423
}

Semantic roles & 50–950 ramp

primary
#672F7E
secondary
#74AC5D
accent
#D55279
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #672F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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