#672E87#672E87

#672E87 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.2% C 0.147 H 311.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#672E87
RGBrgb(103, 46, 135)
HSLhsl(278, 49%, 35%)
HSVhsv(278, 66%, 53%)
CMYKcmyk(23.7%, 65.9%, 0%, 47.1%)
CIE-LABlab(30.85, 41.31, -39.39)
CIE-LCHlch(30.85, 57.08, 316.37°)
OKLaboklab(42.18% 0.097 -0.111)
OKLCHoklch(42.18% 0.147 311.1)
XYZxyz(10.9429, 6.5871, 23.6119)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672E87 #4E872E
analogous
#3A2E87 #672E87 #872E7A
triadic
#672E87 #87672E #2E8767
tetradic
#672E87 #873A2E #4E872E #2E7A87
square
#672E87 #873A2E #4E872E #2E7A87
split-complementary
#672E87 #7A872E #2E873A
monochromatic
#210F2C #441E59 #672E87 #8A3EB5 #A665CA

Accessibility & contrast

On white

9.06
#672E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#672E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672E87
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672E87#FFFFFF#000000##FFFFFF
##672E871.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#254A85
Tritanopia (blue-blind)
#634056
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672e87;
/* rgb */ color: rgb(103, 46, 135);
/* oklch */ color: oklch(42.2% 0.147 311.1);
Tailwind
colors: {
  custom: {
    50: '#956baa',
    500: '#672e87',
    950: '#000000',
  },
}
SCSS
$custom: #672e87;
$custom-light: #956baa;
$custom-dark: #000000;
JSON
{
  "hex": "#672e87",
  "rgb": {
    "r": 103,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 278.427,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42177,
    "c": 0.14742,
    "h": 311.1
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#672E87
secondary
#7DB160
accent
#D94F81
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672E87

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

Preview Lab → · Contrast checker → · Palette generator →

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