#6645DB#6645DB

#6645DB is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.8% C 0.216 H 286.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6645DB
RGBrgb(102, 69, 219)
HSLhsl(253, 68%, 56%)
HSVhsv(253, 68%, 86%)
CMYKcmyk(53.4%, 68.5%, 0%, 14.1%)
CIE-LABlab(41.52, 51.37, -72.01)
CIE-LCHlch(41.52, 88.46, 305.50°)
OKLaboklab(51.82% 0.0604 -0.207)
OKLCHoklch(51.82% 0.216 286.3)
XYZxyz(20.3900, 12.1944, 68.2835)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6645DB #BADB45
analogous
#456FDB #6645DB #B145DB
triadic
#6645DB #DB6645 #45DB66
tetradic
#6645DB #DB456F #BADB45 #45DBB1
square
#6645DB #DB456F #BADB45 #45DBB1
split-complementary
#6645DB #DBB145 #6FDB45
monochromatic
#331B8B #4625BE #6645DB #9078E5 #BAACEF

Accessibility & contrast

On white

6.11
#6645DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6645DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6645DB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6645DB#FFFFFF#000000##FFFFFF
##6645DB1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#356C8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6645db;
/* rgb */ color: rgb(102, 69, 219);
/* oklch */ color: oklch(51.8% 0.216 286.3);
Tailwind
colors: {
  custom: {
    50: '#9c7be7',
    500: '#6645db',
    950: '#000000',
  },
}
SCSS
$custom: #6645db;
$custom-light: #9c7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6645db",
  "rgb": {
    "r": 102,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 253.2,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51821,
    "c": 0.21562,
    "h": 286.3
  },
  "luminance": 0.12195
}

Semantic roles & 50–950 ramp

primary
#6645DB
secondary
#CFDD9F
accent
#EA3DC4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6645DB

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

Preview Lab → · Contrast checker → · Palette generator →

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