#6724A2#6724A2

#6724A2 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.189 H 303.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#6724A2
RGBrgb(103, 36, 162)
HSLhsl(272, 64%, 39%)
HSVhsv(272, 78%, 64%)
CMYKcmyk(36.4%, 77.8%, 0%, 36.5%)
CIE-LABlab(31.24, 52.29, -55.30)
CIE-LCHlch(31.24, 76.11, 313.40°)
OKLaboklab(43.09% 0.1034 -0.1577)
OKLCHoklch(43.09% 0.189 303.3)
XYZxyz(12.7444, 6.7540, 34.8076)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6724A2 #5FA224
analogous
#2824A2 #6724A2 #A2249E
triadic
#6724A2 #A26724 #24A267
tetradic
#6724A2 #A22824 #5FA224 #249EA2
square
#6724A2 #A22824 #5FA224 #249EA2
split-complementary
#6724A2 #9EA224 #24A228
monochromatic
#270E3E #471970 #6724A2 #8732D1 #A464DD

Accessibility & contrast

On white

8.93
#6724A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6724A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6724A2
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6724A2#FFFFFF#000000##FFFFFF
##6724A21.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#5B4562
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6724a2;
/* rgb */ color: rgb(103, 36, 162);
/* oklch */ color: oklch(43.1% 0.189 303.3);
Tailwind
colors: {
  custom: {
    50: '#9867be',
    500: '#6724a2',
    950: '#000000',
  },
}
SCSS
$custom: #6724a2;
$custom-light: #9867be;
$custom-dark: #000000;
JSON
{
  "hex": "#6724a2",
  "rgb": {
    "r": 103,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 271.905,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43093,
    "c": 0.1886,
    "h": 303.3
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#6724A2
secondary
#8EC260
accent
#E7418F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6724A2

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

Preview Lab → · Contrast checker → · Palette generator →

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