#672EB6#672EB6

#672EB6 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.199 H 296.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#672EB6
RGBrgb(103, 46, 182)
HSLhsl(265, 60%, 45%)
HSVhsv(265, 75%, 71%)
CMYKcmyk(43.4%, 74.7%, 0%, 28.6%)
CIE-LABlab(34.43, 52.92, -62.08)
CIE-LCHlch(34.43, 81.57, 310.45°)
OKLaboklab(45.85% 0.0897 -0.1777)
OKLCHoklch(45.85% 0.199 296.8)
XYZxyz(15.0118, 8.2146, 45.0416)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672EB6 #7DB62E
analogous
#2E39B6 #672EB6 #AB2EB6
triadic
#672EB6 #B6672E #2EB667
tetradic
#672EB6 #B62E39 #7DB62E #2EB6AB
square
#672EB6 #B62E39 #7DB62E #2EB6AB
split-complementary
#672EB6 #B6AB2E #39B62E
monochromatic
#301554 #4B2285 #672EB6 #864FD2 #A880DF

Accessibility & contrast

On white

7.95
#672EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#672EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672EB6
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672EB6#FFFFFF#000000##FFFFFF
##672EB61.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672eb6;
/* rgb */ color: rgb(103, 46, 182);
/* oklch */ color: oklch(45.9% 0.199 296.8);
Tailwind
colors: {
  custom: {
    50: '#9a6dcd',
    500: '#672eb6',
    950: '#000000',
  },
}
SCSS
$custom: #672eb6;
$custom-light: #9a6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#672eb6",
  "rgb": {
    "r": 103,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 265.147,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4585,
    "c": 0.19904,
    "h": 296.8
  },
  "luminance": 0.08215
}

Semantic roles & 50–950 ramp

primary
#672EB6
secondary
#A6C878
accent
#E345A1
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #672EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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