#672E86#672E86

#672E86 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.1% C 0.146 H 311.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#672E86
RGBrgb(103, 46, 134)
HSLhsl(279, 49%, 35%)
HSVhsv(279, 66%, 53%)
CMYKcmyk(23.1%, 65.7%, 0%, 47.5%)
CIE-LABlab(30.78, 41.08, -38.87)
CIE-LCHlch(30.78, 56.55, 316.58°)
OKLaboklab(42.11% 0.0971 -0.1095)
OKLCHoklch(42.11% 0.146 311.6)
XYZxyz(10.8728, 6.5590, 23.2429)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672E86 #4D862E
analogous
#3B2E86 #672E86 #862E79
triadic
#672E86 #86672E #2E8667
tetradic
#672E86 #863B2E #4D862E #2E7986
square
#672E86 #863B2E #4D862E #2E7986
split-complementary
#672E86 #79862E #2E863B
monochromatic
#210F2B #441E58 #672E86 #8A3EB4 #A664CA

Accessibility & contrast

On white

9.08
#672E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#672E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672E86
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672E86#FFFFFF#000000##FFFFFF
##672E861.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024689
Deuteranopia (green-blind)
#264A84
Tritanopia (blue-blind)
#633F56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672e86;
/* rgb */ color: rgb(103, 46, 134);
/* oklch */ color: oklch(42.1% 0.146 311.6);
Tailwind
colors: {
  custom: {
    50: '#956baa',
    500: '#672e86',
    950: '#000000',
  },
}
SCSS
$custom: #672e86;
$custom-light: #956baa;
$custom-dark: #000000;
JSON
{
  "hex": "#672e86",
  "rgb": {
    "r": 103,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 278.864,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42107,
    "c": 0.14632,
    "h": 311.6
  },
  "luminance": 0.06559
}

Semantic roles & 50–950 ramp

primary
#672E86
secondary
#7CB15F
accent
#D84F80
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672E86

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

Preview Lab → · Contrast checker → · Palette generator →

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