#672DB7#672DB7

#672DB7 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.201 H 296.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#672DB7
RGBrgb(103, 45, 183)
HSLhsl(265, 61%, 45%)
HSVhsv(265, 75%, 72%)
CMYKcmyk(43.7%, 75.4%, 0%, 28.2%)
CIE-LABlab(34.35, 53.62, -62.79)
CIE-LCHlch(34.35, 82.57, 310.50°)
OKLaboklab(45.83% 0.0903 -0.1798)
OKLCHoklch(45.83% 0.201 296.7)
XYZxyz(15.0769, 8.1789, 45.5749)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672DB7 #7DB72D
analogous
#2D38B7 #672DB7 #AC2DB7
triadic
#672DB7 #B7672D #2DB767
tetradic
#672DB7 #B72D38 #7DB72D #2DB7AC
square
#672DB7 #B72D38 #7DB72D #2DB7AC
split-complementary
#672DB7 #B7AC2D #38B72D
monochromatic
#301555 #4B2186 #672DB7 #864ED3 #A77FDF

Accessibility & contrast

On white

7.97
#672DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672DB7
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672DB7#FFFFFF#000000##FFFFFF
##672DB71.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672db7;
/* rgb */ color: rgb(103, 45, 183);
/* oklch */ color: oklch(45.8% 0.201 296.7);
Tailwind
colors: {
  custom: {
    50: '#9a6cce',
    500: '#672db7',
    950: '#000000',
  },
}
SCSS
$custom: #672db7;
$custom-light: #9a6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#672db7",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 265.217,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45825,
    "c": 0.20117,
    "h": 296.7
  },
  "luminance": 0.08179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #672DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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