#672F86#672F86

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

Color values

HEX#672F86
RGBrgb(103, 47, 134)
HSLhsl(279, 48%, 35%)
HSVhsv(279, 65%, 53%)
CMYKcmyk(23.1%, 64.9%, 0%, 47.5%)
CIE-LABlab(30.97, 40.56, -38.57)
CIE-LCHlch(30.97, 55.97, 316.44°)
OKLaboklab(42.24% 0.0958 -0.1086)
OKLCHoklch(42.24% 0.145 311.4)
XYZxyz(10.9123, 6.6381, 23.2561)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672F86 #4E862F
analogous
#3C2F86 #672F86 #862F79
triadic
#672F86 #86672F #2F8667
tetradic
#672F86 #863C2F #4E862F #2F7986
square
#672F86 #863C2F #4E862F #2F7986
split-complementary
#672F86 #79862F #2F863C
monochromatic
#210F2B #441F59 #672F86 #8A3FB3 #A666C9

Accessibility & contrast

On white

9.02
#672F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#672F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672F86
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672F86#FFFFFF#000000##FFFFFF
##672F861.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064689
Deuteranopia (green-blind)
#274A84
Tritanopia (blue-blind)
#634056
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672f86;
/* rgb */ color: rgb(103, 47, 134);
/* oklch */ color: oklch(42.2% 0.145 311.4);
Tailwind
colors: {
  custom: {
    50: '#956baa',
    500: '#672f86',
    950: '#000000',
  },
}
SCSS
$custom: #672f86;
$custom-light: #956baa;
$custom-dark: #000000;
JSON
{
  "hex": "#672f86",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 278.621,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42243,
    "c": 0.14482,
    "h": 311.4
  },
  "luminance": 0.06638
}

Semantic roles & 50–950 ramp

primary
#672F86
secondary
#7DB060
accent
#D85080
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672F86

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

Preview Lab → · Contrast checker → · Palette generator →

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