#672BB7#672BB7

#672BB7 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.6% C 0.203 H 296.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#672BB7
RGBrgb(103, 43, 183)
HSLhsl(266, 62%, 44%)
HSVhsv(266, 77%, 72%)
CMYKcmyk(43.7%, 76.5%, 0%, 28.2%)
CIE-LABlab(34.05, 54.50, -63.30)
CIE-LCHlch(34.05, 83.53, 310.73°)
OKLaboklab(45.61% 0.092 -0.1812)
OKLCHoklch(45.61% 0.203 296.9)
XYZxyz(15.0024, 8.0299, 45.5501)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672BB7 #7BB72B
analogous
#2B35B7 #672BB7 #AD2BB7
triadic
#672BB7 #B7672B #2BB767
tetradic
#672BB7 #B72B35 #7BB72B #2BB7AD
square
#672BB7 #B72B35 #7BB72B #2BB7AD
split-complementary
#672BB7 #B7AD2B #35B72B
monochromatic
#2F1454 #4B1F85 #672BB7 #864BD5 #A77CE0

Accessibility & contrast

On white

8.06
#672BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#672BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672BB7
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672BB7#FFFFFF#000000##FFFFFF
##672BB71.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#525170
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #672bb7;
/* rgb */ color: rgb(103, 43, 183);
/* oklch */ color: oklch(45.6% 0.203 296.9);
Tailwind
colors: {
  custom: {
    50: '#9a6bce',
    500: '#672bb7',
    950: '#000000',
  },
}
SCSS
$custom: #672bb7;
$custom-light: #9a6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#672bb7",
  "rgb": {
    "r": 103,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 265.714,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45609,
    "c": 0.20324,
    "h": 296.9
  },
  "luminance": 0.0803
}

Semantic roles & 50–950 ramp

primary
#672BB7
secondary
#A5C975
accent
#E5439F
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #672BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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