#672DB2#672DB2

#672DB2 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.196 H 297.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#672DB2
RGBrgb(103, 45, 178)
HSLhsl(266, 60%, 44%)
HSVhsv(266, 75%, 70%)
CMYKcmyk(42.1%, 74.7%, 0%, 30.2%)
CIE-LABlab(33.93, 52.35, -60.52)
CIE-LCHlch(33.93, 80.02, 310.86°)
OKLaboklab(45.4% 0.0915 -0.1731)
OKLCHoklch(45.4% 0.196 297.9)
XYZxyz(14.5657, 7.9744, 42.8827)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672DB2 #78B22D
analogous
#2D36B2 #672DB2 #A92DB2
triadic
#672DB2 #B2672D #2DB267
tetradic
#672DB2 #B22D36 #78B22D #2DB2A9
square
#672DB2 #B22D36 #78B22D #2DB2A9
split-complementary
#672DB2 #B2A92D #36B22D
monochromatic
#2E1450 #4B2181 #672DB2 #854BD1 #A67CDE

Accessibility & contrast

On white

8.09
#672DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#672DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672DB2
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672DB2#FFFFFF#000000##FFFFFF
##672DB21.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#54506D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #672db2;
/* rgb */ color: rgb(103, 45, 178);
/* oklch */ color: oklch(45.4% 0.196 297.9);
Tailwind
colors: {
  custom: {
    50: '#996cca',
    500: '#672db2',
    950: '#000000',
  },
}
SCSS
$custom: #672db2;
$custom-light: #996cca;
$custom-dark: #000000;
JSON
{
  "hex": "#672db2",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 266.165,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45396,
    "c": 0.1958,
    "h": 297.9
  },
  "luminance": 0.07975
}

Semantic roles & 50–950 ramp

primary
#672DB2
secondary
#A3C675
accent
#E3459E
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #672DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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