#672E8F#672E8F

#672E8F is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.7% C 0.156 H 308.1°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#672E8F
RGBrgb(103, 46, 143)
HSLhsl(275, 51%, 37%)
HSVhsv(275, 68%, 56%)
CMYKcmyk(28%, 67.8%, 0%, 43.9%)
CIE-LABlab(31.40, 43.20, -43.45)
CIE-LCHlch(31.40, 61.28, 314.84°)
OKLaboklab(42.75% 0.0964 -0.1229)
OKLCHoklch(42.75% 0.156 308.1)
XYZxyz(11.5274, 6.8209, 26.6906)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672E8F #568F2E
analogous
#372E8F #672E8F #8F2E87
triadic
#672E8F #8F672E #2E8F67
tetradic
#672E8F #8F372E #568F2E #2E878F
square
#672E8F #8F372E #568F2E #2E878F
split-complementary
#672E8F #878F2E #2E8F37
monochromatic
#241032 #461F61 #672E8F #883DBD #A569CF

Accessibility & contrast

On white

8.88
#672E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#672E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672E8F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672E8F#FFFFFF#000000##FFFFFF
##672E8F1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#1B4A8D
Tritanopia (blue-blind)
#61435A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #672e8f;
/* rgb */ color: rgb(103, 46, 143);
/* oklch */ color: oklch(42.7% 0.156 308.1);
Tailwind
colors: {
  custom: {
    50: '#966bb0',
    500: '#672e8f',
    950: '#000000',
  },
}
SCSS
$custom: #672e8f;
$custom-light: #966bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#672e8f",
  "rgb": {
    "r": 103,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 275.258,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42746,
    "c": 0.15625,
    "h": 308.1
  },
  "luminance": 0.06821
}

Semantic roles & 50–950 ramp

primary
#672E8F
secondary
#85B663
accent
#DB4D87
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #672E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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