#672AAF#672AAF

#672AAF is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.196 H 299.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#672AAF
RGBrgb(103, 42, 175)
HSLhsl(268, 61%, 43%)
HSVhsv(268, 76%, 69%)
CMYKcmyk(41.1%, 76%, 0%, 31.4%)
CIE-LABlab(33.21, 52.93, -59.90)
CIE-LCHlch(33.21, 79.94, 311.47°)
OKLaboklab(44.81% 0.0949 -0.1713)
OKLCHoklch(44.81% 0.196 299)
XYZxyz(14.1574, 7.6344, 41.2768)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672AAF #72AF2A
analogous
#2A2FAF #672AAF #AA2AAF
triadic
#672AAF #AF672A #2AAF67
tetradic
#672AAF #AF2A2F #72AF2A #2AAFAA
square
#672AAF #AF2A2F #72AF2A #2AAFAA
split-complementary
#672AAF #AFAA2A #2FAF2A
monochromatic
#2D124C #4A1E7E #672AAF #8544D2 #A575DE

Accessibility & contrast

On white

8.31
#672AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#672AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672AAF
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672AAF#FFFFFF#000000##FFFFFF
##672AAF1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#554D6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #672aaf;
/* rgb */ color: rgb(103, 42, 175);
/* oklch */ color: oklch(44.8% 0.196 299.0);
Tailwind
colors: {
  custom: {
    50: '#996ac8',
    500: '#672aaf',
    950: '#000000',
  },
}
SCSS
$custom: #672aaf;
$custom-light: #996ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#672aaf",
  "rgb": {
    "r": 103,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 267.519,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44812,
    "c": 0.19581,
    "h": 299
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#672AAF
secondary
#9EC66F
accent
#E4439B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #672AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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