#672F88#672F88

#672F88 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.4% C 0.147 H 310.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#672F88
RGBrgb(103, 47, 136)
HSLhsl(278, 49%, 36%)
HSVhsv(278, 65%, 53%)
CMYKcmyk(24.3%, 65.4%, 0%, 46.7%)
CIE-LABlab(31.10, 41.03, -39.60)
CIE-LCHlch(31.10, 57.03, 316.02°)
OKLaboklab(42.38% 0.0957 -0.1116)
OKLCHoklch(42.38% 0.147 310.6)
XYZxyz(11.0531, 6.6944, 23.9977)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672F88 #50882F
analogous
#3A2F88 #672F88 #882F7C
triadic
#672F88 #88672F #2F8867
tetradic
#672F88 #883A2F #50882F #2F7C88
square
#672F88 #883A2F #50882F #2F7C88
split-complementary
#672F88 #7C882F #2F883A
monochromatic
#22102D #451F5B #672F88 #893FB5 #A667CA

Accessibility & contrast

On white

8.98
#672F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#672F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672F88
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672F88#FFFFFF#000000##FFFFFF
##672F881.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478B
Deuteranopia (green-blind)
#254A86
Tritanopia (blue-blind)
#634157
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672f88;
/* rgb */ color: rgb(103, 47, 136);
/* oklch */ color: oklch(42.4% 0.147 310.6);
Tailwind
colors: {
  custom: {
    50: '#956bab',
    500: '#672f88',
    950: '#000000',
  },
}
SCSS
$custom: #672f88;
$custom-light: #956bab;
$custom-dark: #000000;
JSON
{
  "hex": "#672f88",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 277.753,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42381,
    "c": 0.14705,
    "h": 310.6
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#672F88
secondary
#7FB161
accent
#D85082
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #672F88

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

Preview Lab → · Contrast checker → · Palette generator →

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