#6724BD#6724BD

#6724BD is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.5% C 0.216 H 296.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#6724BD
RGBrgb(103, 36, 189)
HSLhsl(266, 68%, 44%)
HSVhsv(266, 81%, 74%)
CMYKcmyk(45.5%, 81%, 0%, 25.9%)
CIE-LABlab(33.60, 58.82, -67.57)
CIE-LCHlch(33.60, 89.58, 311.04°)
OKLaboklab(45.47% 0.0955 -0.1937)
OKLCHoklch(45.47% 0.216 296.2)
XYZxyz(15.4072, 7.8191, 48.8317)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6724BD #7ABD24
analogous
#242DBD #6724BD #B424BD
triadic
#6724BD #BD6724 #24BD67
tetradic
#6724BD #BD242D #7ABD24 #24BDB4
square
#6724BD #BD242D #7ABD24 #24BDB4
split-complementary
#6724BD #BDB424 #2DBD24
monochromatic
#2F1056 #4B1A8A #6724BD #8643DB #A776E5

Accessibility & contrast

On white

8.19
#6724BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6724BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6724BD
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6724BD#FFFFFF#000000##FFFFFF
##6724BD1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#4F5072
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6724bd;
/* rgb */ color: rgb(103, 36, 189);
/* oklch */ color: oklch(45.5% 0.216 296.2);
Tailwind
colors: {
  custom: {
    50: '#9b68d2',
    500: '#6724bd',
    950: '#000000',
  },
}
SCSS
$custom: #6724bd;
$custom-light: #9b68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6724bd",
  "rgb": {
    "r": 103,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 266.275,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45465,
    "c": 0.21597,
    "h": 296.2
  },
  "luminance": 0.07819
}

Semantic roles & 50–950 ramp

primary
#6724BD
secondary
#A4CC70
accent
#EB3D9F
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6724BD

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

Preview Lab → · Contrast checker → · Palette generator →

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