#672EB7#672EB7

#672EB7 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.9% C 0.200 H 296.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#672EB7
RGBrgb(103, 46, 183)
HSLhsl(265, 60%, 45%)
HSVhsv(265, 75%, 72%)
CMYKcmyk(43.7%, 74.9%, 0%, 28.2%)
CIE-LABlab(34.51, 53.17, -62.53)
CIE-LCHlch(34.51, 82.09, 310.38°)
OKLaboklab(45.94% 0.0894 -0.179)
OKLCHoklch(45.94% 0.2 296.5)
XYZxyz(15.1155, 8.2561, 45.5878)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672EB7 #7EB72E
analogous
#2E39B7 #672EB7 #AC2EB7
triadic
#672EB7 #B7672E #2EB767
tetradic
#672EB7 #B72E39 #7EB72E #2EB7AC
square
#672EB7 #B72E39 #7EB72E #2EB7AC
split-complementary
#672EB7 #B7AC2E #39B72E
monochromatic
#301555 #4B2286 #672EB7 #864FD3 #A880DF

Accessibility & contrast

On white

7.92
#672EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#672EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672EB7
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672EB7#FFFFFF#000000##FFFFFF
##672EB71.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672eb7;
/* rgb */ color: rgb(103, 46, 183);
/* oklch */ color: oklch(45.9% 0.200 296.5);
Tailwind
colors: {
  custom: {
    50: '#9a6dce',
    500: '#672eb7',
    950: '#000000',
  },
}
SCSS
$custom: #672eb7;
$custom-light: #9a6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#672eb7",
  "rgb": {
    "r": 103,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 264.964,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45936,
    "c": 0.20011,
    "h": 296.5
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #672EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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