#6724A6#6724A6

#6724A6 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.193 H 302.1°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#6724A6
RGBrgb(103, 36, 166)
HSLhsl(271, 64%, 40%)
HSVhsv(271, 78%, 65%)
CMYKcmyk(38%, 78.3%, 0%, 34.9%)
CIE-LABlab(31.57, 53.25, -57.17)
CIE-LCHlch(31.57, 78.13, 312.96°)
OKLaboklab(43.43% 0.1024 -0.1632)
OKLCHoklch(43.43% 0.193 302.1)
XYZxyz(13.1057, 6.8984, 36.7101)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6724A6 #63A624
analogous
#2624A6 #6724A6 #A624A4
triadic
#6724A6 #A66724 #24A667
tetradic
#6724A6 #A62624 #63A624 #24A4A6
square
#6724A6 #A62624 #63A624 #24A4A6
split-complementary
#6724A6 #A4A624 #24A626
monochromatic
#290E41 #481974 #6724A6 #8634D3 #A466DE

Accessibility & contrast

On white

8.83
#6724A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6724A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6724A6
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6724A6#FFFFFF#000000##FFFFFF
##6724A61.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#594664
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6724a6;
/* rgb */ color: rgb(103, 36, 166);
/* oklch */ color: oklch(43.4% 0.193 302.1);
Tailwind
colors: {
  custom: {
    50: '#9867c1',
    500: '#6724a6',
    950: '#000000',
  },
}
SCSS
$custom: #6724a6;
$custom-light: #9867c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6724a6",
  "rgb": {
    "r": 103,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 270.923,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43431,
    "c": 0.19266,
    "h": 302.1
  },
  "luminance": 0.06898
}

Semantic roles & 50–950 ramp

primary
#6724A6
secondary
#91C462
accent
#E74091
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6724A6

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

Preview Lab → · Contrast checker → · Palette generator →

#6724A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva