#672FB6#672FB6

#672FB6 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.198 H 296.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#672FB6
RGBrgb(103, 47, 182)
HSLhsl(265, 59%, 45%)
HSVhsv(265, 74%, 71%)
CMYKcmyk(43.4%, 74.2%, 0%, 28.6%)
CIE-LABlab(34.59, 52.46, -61.82)
CIE-LCHlch(34.59, 81.08, 310.32°)
OKLaboklab(45.96% 0.0888 -0.1769)
OKLCHoklch(45.96% 0.198 296.7)
XYZxyz(15.0513, 8.2937, 45.0547)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672FB6 #7EB62F
analogous
#2F3AB6 #672FB6 #AB2FB6
triadic
#672FB6 #B6672F #2FB667
tetradic
#672FB6 #B62F3A #7EB62F #2FB6AB
square
#672FB6 #B62F3A #7EB62F #2FB6AB
split-complementary
#672FB6 #B6AB2F #3AB62F
monochromatic
#301655 #4B2285 #672FB6 #8650D2 #A881DE

Accessibility & contrast

On white

7.90
#672FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#672FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672FB6
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672FB6#FFFFFF#000000##FFFFFF
##672FB61.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#525270
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #672fb6;
/* rgb */ color: rgb(103, 47, 182);
/* oklch */ color: oklch(46.0% 0.198 296.7);
Tailwind
colors: {
  custom: {
    50: '#9a6dcd',
    500: '#672fb6',
    950: '#000000',
  },
}
SCSS
$custom: #672fb6;
$custom-light: #9a6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#672fb6",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 264.889,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45964,
    "c": 0.19795,
    "h": 296.7
  },
  "luminance": 0.08294
}

Semantic roles & 50–950 ramp

primary
#672FB6
secondary
#A7C779
accent
#E246A1
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0714
muted
#7E7A82

Preview Lab

Preview with #672FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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