#6721BD#6721BD

#6721BD is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.2% C 0.218 H 296.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6721BD
RGBrgb(103, 33, 189)
HSLhsl(267, 70%, 44%)
HSVhsv(267, 83%, 74%)
CMYKcmyk(45.5%, 82.5%, 0%, 25.9%)
CIE-LABlab(33.23, 59.90, -68.18)
CIE-LCHlch(33.23, 90.75, 311.30°)
OKLaboklab(45.21% 0.0975 -0.1955)
OKLCHoklch(45.21% 0.218 296.5)
XYZxyz(15.3202, 7.6450, 48.8027)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6721BD #77BD21
analogous
#2129BD #6721BD #B521BD
triadic
#6721BD #BD6721 #21BD67
tetradic
#6721BD #BD2129 #77BD21 #21BDB5
square
#6721BD #BD2129 #77BD21 #21BDB5
split-complementary
#6721BD #BDB521 #29BD21
monochromatic
#2E0F55 #4B1889 #6721BD #853EDD #A672E6

Accessibility & contrast

On white

8.30
#6721BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6721BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6721BD
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6721BD#FFFFFF#000000##FFFFFF
##6721BD1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#4F4F71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6721bd;
/* rgb */ color: rgb(103, 33, 189);
/* oklch */ color: oklch(45.2% 0.218 296.5);
Tailwind
colors: {
  custom: {
    50: '#9b67d2',
    500: '#6721bd',
    950: '#000000',
  },
}
SCSS
$custom: #6721bd;
$custom-light: #9b67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6721bd",
  "rgb": {
    "r": 103,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 266.923,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45209,
    "c": 0.21843,
    "h": 296.5
  },
  "luminance": 0.07645
}

Semantic roles & 50–950 ramp

primary
#6721BD
secondary
#A2CD6D
accent
#ED3B9D
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0614
muted
#7F7A83

Preview Lab

Preview with #6721BD

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

Preview Lab → · Contrast checker → · Palette generator →

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