#672A9C#672A9C

#672A9C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.176 H 304.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#672A9C
RGBrgb(103, 42, 156)
HSLhsl(272, 58%, 39%)
HSVhsv(272, 73%, 61%)
CMYKcmyk(34%, 73.1%, 0%, 38.8%)
CIE-LABlab(31.67, 48.26, -50.96)
CIE-LCHlch(31.67, 70.19, 313.44°)
OKLaboklab(43.25% 0.0991 -0.145)
OKLCHoklch(43.25% 0.176 304.3)
XYZxyz(12.4209, 6.9398, 32.1312)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672A9C #5F9C2A
analogous
#2E2A9C #672A9C #9C2A98
triadic
#672A9C #9C672A #2A9C67
tetradic
#672A9C #9C2E2A #5F9C2A #2A989C
square
#672A9C #9C2E2A #5F9C2A #2A989C
split-complementary
#672A9C #989C2A #2A9C2E
monochromatic
#27103C #471D6C #672A9C #8739CA #A46AD7

Accessibility & contrast

On white

8.79
#672A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#672A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672A9C
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672A9C#FFFFFF#000000##FFFFFF
##672A9C1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#5D4560
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #672a9c;
/* rgb */ color: rgb(103, 42, 156);
/* oklch */ color: oklch(43.2% 0.176 304.3);
Tailwind
colors: {
  custom: {
    50: '#9769ba',
    500: '#672a9c',
    950: '#000000',
  },
}
SCSS
$custom: #672a9c;
$custom-light: #9769ba;
$custom-dark: #000000;
JSON
{
  "hex": "#672a9c",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 272.105,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43246,
    "c": 0.17561,
    "h": 304.3
  },
  "luminance": 0.0694
}

Semantic roles & 50–950 ramp

primary
#672A9C
secondary
#8EBD65
accent
#E1478F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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