#672EAC#672EAC

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

Color values

HEX#672EAC
RGBrgb(103, 46, 172)
HSLhsl(267, 58%, 43%)
HSVhsv(267, 73%, 67%)
CMYKcmyk(40.1%, 73.3%, 0%, 32.5%)
CIE-LABlab(33.60, 50.37, -57.48)
CIE-LCHlch(33.60, 76.43, 311.23°)
OKLaboklab(45.01% 0.092 -0.1642)
OKLCHoklch(45.01% 0.188 299.3)
XYZxyz(14.0150, 7.8159, 39.7920)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672EAC #73AC2E
analogous
#2E34AC #672EAC #A62EAC
triadic
#672EAC #AC672E #2EAC67
tetradic
#672EAC #AC2E34 #73AC2E #2EACA6
square
#672EAC #AC2E34 #73AC2E #2EACA6
split-complementary
#672EAC #ACA62E #34AC2E
monochromatic
#2D144B #4A217C #672EAC #8549CE #A679DB

Accessibility & contrast

On white

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

On black

2.56
#672EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##672EAC#FFFFFF#000000##FFFFFF
##672EAC1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#574E6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #672eac;
/* rgb */ color: rgb(103, 46, 172);
/* oklch */ color: oklch(45.0% 0.188 299.3);
Tailwind
colors: {
  custom: {
    50: '#996cc6',
    500: '#672eac',
    950: '#000000',
  },
}
SCSS
$custom: #672eac;
$custom-light: #996cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#672eac",
  "rgb": {
    "r": 103,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 267.143,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45008,
    "c": 0.18817,
    "h": 299.3
  },
  "luminance": 0.07816
}

Semantic roles & 50–950 ramp

primary
#672EAC
secondary
#9FC372
accent
#E1479B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #672EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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