#672BB2#672BB2

#672BB2 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.198 H 298.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#672BB2
RGBrgb(103, 43, 178)
HSLhsl(267, 61%, 43%)
HSVhsv(267, 76%, 70%)
CMYKcmyk(42.1%, 75.8%, 0%, 30.2%)
CIE-LABlab(33.62, 53.25, -61.03)
CIE-LCHlch(33.62, 80.99, 311.11°)
OKLaboklab(45.18% 0.0933 -0.1746)
OKLCHoklch(45.18% 0.198 298.1)
XYZxyz(14.4912, 7.8254, 42.8578)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672BB2 #76B22B
analogous
#2B32B2 #672BB2 #AA2BB2
triadic
#672BB2 #B2672B #2BB267
tetradic
#672BB2 #B22B32 #76B22B #2BB2AA
square
#672BB2 #B22B32 #76B22B #2BB2AA
split-complementary
#672BB2 #B2AA2B #32B22B
monochromatic
#2E134F #4A1F81 #672BB2 #8548D3 #A679DF

Accessibility & contrast

On white

8.19
#672BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#672BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672BB2
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672BB2#FFFFFF#000000##FFFFFF
##672BB21.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#544F6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #672bb2;
/* rgb */ color: rgb(103, 43, 178);
/* oklch */ color: oklch(45.2% 0.198 298.1);
Tailwind
colors: {
  custom: {
    50: '#996bca',
    500: '#672bb2',
    950: '#000000',
  },
}
SCSS
$custom: #672bb2;
$custom-light: #996bca;
$custom-dark: #000000;
JSON
{
  "hex": "#672bb2",
  "rgb": {
    "r": 103,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 266.667,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45176,
    "c": 0.19793,
    "h": 298.1
  },
  "luminance": 0.07826
}

Semantic roles & 50–950 ramp

primary
#672BB2
secondary
#A1C772
accent
#E4449D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #672BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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