#6643DB#6643DB

#6643DB is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.5% C 0.218 H 286.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6643DB
RGBrgb(102, 67, 219)
HSLhsl(254, 68%, 56%)
HSVhsv(254, 69%, 86%)
CMYKcmyk(53.4%, 69.4%, 0%, 14.1%)
CIE-LABlab(41.14, 52.43, -72.64)
CIE-LCHlch(41.14, 89.58, 305.82°)
OKLaboklab(51.55% 0.0621 -0.2088)
OKLCHoklch(51.55% 0.218 286.6)
XYZxyz(20.2690, 11.9525, 68.2431)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6643DB #B8DB43
analogous
#436CDB #6643DB #B243DB
triadic
#6643DB #DB6643 #43DB66
tetradic
#6643DB #DB436C #B8DB43 #43DBB2
square
#6643DB #DB436C #B8DB43 #43DBB2
split-complementary
#6643DB #DBB243 #6CDB43
monochromatic
#341A89 #4724BD #6643DB #9076E5 #BAAAEF

Accessibility & contrast

On white

6.19
#6643DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6643DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6643DB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6643DB#FFFFFF#000000##FFFFFF
##6643DB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#356B8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6643db;
/* rgb */ color: rgb(102, 67, 219);
/* oklch */ color: oklch(51.5% 0.218 286.6);
Tailwind
colors: {
  custom: {
    50: '#9c7ae7',
    500: '#6643db',
    950: '#000000',
  },
}
SCSS
$custom: #6643db;
$custom-light: #9c7ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#6643db",
  "rgb": {
    "r": 102,
    "g": 67,
    "b": 219
  },
  "hsl": {
    "h": 253.816,
    "s": 67.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51547,
    "c": 0.21786,
    "h": 286.6
  },
  "luminance": 0.11954
}

Semantic roles & 50–950 ramp

primary
#6643DB
secondary
#CEDC9E
accent
#EB3DC3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6643DB

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

Preview Lab → · Contrast checker → · Palette generator →

#6643DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva