#672F8A#672F8A

#672F8A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.5% C 0.149 H 309.8°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#672F8A
RGBrgb(103, 47, 138)
HSLhsl(277, 49%, 36%)
HSVhsv(277, 66%, 54%)
CMYKcmyk(25.4%, 65.9%, 0%, 45.9%)
CIE-LABlab(31.24, 41.51, -40.62)
CIE-LCHlch(31.24, 58.08, 315.62°)
OKLaboklab(42.52% 0.0956 -0.1146)
OKLCHoklch(42.52% 0.149 309.8)
XYZxyz(11.1966, 6.7518, 24.7532)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672F8A #528A2F
analogous
#3A2F8A #672F8A #8A2F80
triadic
#672F8A #8A672F #2F8A67
tetradic
#672F8A #8A3A2F #528A2F #2F808A
square
#672F8A #8A3A2F #528A2F #2F808A
split-complementary
#672F8A #808A2F #2F8A3A
monochromatic
#23102F #451F5C #672F8A #893FB8 #A568CC

Accessibility & contrast

On white

8.93
#672F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#672F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672F8A
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672F8A#FFFFFF#000000##FFFFFF
##672F8A1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#224A88
Tritanopia (blue-blind)
#624158
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672f8a;
/* rgb */ color: rgb(103, 47, 138);
/* oklch */ color: oklch(42.5% 0.149 309.8);
Tailwind
colors: {
  custom: {
    50: '#966bad',
    500: '#672f8a',
    950: '#000000',
  },
}
SCSS
$custom: #672f8a;
$custom-light: #966bad;
$custom-dark: #000000;
JSON
{
  "hex": "#672f8a",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 276.923,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42521,
    "c": 0.14927,
    "h": 309.8
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#672F8A
secondary
#81B362
accent
#D94F84
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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