#6724A4#6724A4

#6724A4 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.191 H 302.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6724A4
RGBrgb(103, 36, 164)
HSLhsl(271, 64%, 39%)
HSVhsv(271, 78%, 64%)
CMYKcmyk(37.2%, 78%, 0%, 35.7%)
CIE-LABlab(31.41, 52.77, -56.24)
CIE-LCHlch(31.41, 77.12, 313.18°)
OKLaboklab(43.26% 0.1029 -0.1605)
OKLCHoklch(43.26% 0.191 302.7)
XYZxyz(12.9236, 6.8256, 35.7514)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6724A4 #61A424
analogous
#2724A4 #6724A4 #A424A1
triadic
#6724A4 #A46724 #24A467
tetradic
#6724A4 #A42724 #61A424 #24A1A4
square
#6724A4 #A42724 #61A424 #24A1A4
split-complementary
#6724A4 #A1A424 #24A427
monochromatic
#280E40 #471972 #6724A4 #8633D2 #A465DD

Accessibility & contrast

On white

8.88
#6724A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6724A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6724A4
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6724A4#FFFFFF#000000##FFFFFF
##6724A41.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#5A4663
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6724a4;
/* rgb */ color: rgb(103, 36, 164);
/* oklch */ color: oklch(43.3% 0.191 302.7);
Tailwind
colors: {
  custom: {
    50: '#9867c0',
    500: '#6724a4',
    950: '#000000',
  },
}
SCSS
$custom: #6724a4;
$custom-light: #9867c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6724a4",
  "rgb": {
    "r": 103,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 271.406,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43261,
    "c": 0.19063,
    "h": 302.7
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#6724A4
secondary
#90C361
accent
#E74190
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6724A4

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

Preview Lab → · Contrast checker → · Palette generator →

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