#672DAF#672DAF

#672DAF is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.193 H 298.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#672DAF
RGBrgb(103, 45, 175)
HSLhsl(267, 59%, 43%)
HSVhsv(267, 74%, 69%)
CMYKcmyk(41.1%, 74.3%, 0%, 31.4%)
CIE-LABlab(33.68, 51.59, -59.14)
CIE-LCHlch(33.68, 78.48, 311.10°)
OKLaboklab(45.14% 0.0922 -0.169)
OKLCHoklch(45.14% 0.193 298.6)
XYZxyz(14.2678, 7.8553, 41.3136)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672DAF #75AF2D
analogous
#2D34AF #672DAF #A82DAF
triadic
#672DAF #AF672D #2DAF67
tetradic
#672DAF #AF2D34 #75AF2D #2DAFA8
square
#672DAF #AF2D34 #75AF2D #2DAFA8
split-complementary
#672DAF #AFA82D #34AF2D
monochromatic
#2E144E #4A207E #672DAF #8549D0 #A67ADD

Accessibility & contrast

On white

8.17
#672DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672DAF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672DAF#FFFFFF#000000##FFFFFF
##672DAF1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#554E6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #672daf;
/* rgb */ color: rgb(103, 45, 175);
/* oklch */ color: oklch(45.1% 0.193 298.6);
Tailwind
colors: {
  custom: {
    50: '#996cc8',
    500: '#672daf',
    950: '#000000',
  },
}
SCSS
$custom: #672daf;
$custom-light: #996cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#672daf",
  "rgb": {
    "r": 103,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 266.769,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45143,
    "c": 0.19255,
    "h": 298.6
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#672DAF
secondary
#A0C573
accent
#E2469C
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #672DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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