#6645DC#6645DC

#6645DC is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.9% C 0.217 H 286.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6645DC
RGBrgb(102, 69, 220)
HSLhsl(253, 68%, 57%)
HSVhsv(253, 69%, 86%)
CMYKcmyk(53.6%, 68.6%, 0%, 13.7%)
CIE-LABlab(41.61, 51.66, -72.45)
CIE-LCHlch(41.61, 88.98, 305.49°)
OKLaboklab(51.91% 0.0603 -0.2083)
OKLCHoklch(51.91% 0.217 286.1)
XYZxyz(20.5220, 12.2472, 68.9789)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6645DC #BBDC45
analogous
#456FDC #6645DC #B245DC
triadic
#6645DC #DC6645 #45DC66
tetradic
#6645DC #DC456F #BBDC45 #45DCB2
square
#6645DC #DC456F #BBDC45 #45DCB2
split-complementary
#6645DC #DCB245 #6FDC45
monochromatic
#331A8C #4624C0 #6645DC #9079E6 #BBACEF

Accessibility & contrast

On white

6.09
#6645DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6645DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6645DC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6645DC#FFFFFF#000000##FFFFFF
##6645DC1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#346C8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6645dc;
/* rgb */ color: rgb(102, 69, 220);
/* oklch */ color: oklch(51.9% 0.217 286.1);
Tailwind
colors: {
  custom: {
    50: '#9c7be8',
    500: '#6645dc',
    950: '#000000',
  },
}
SCSS
$custom: #6645dc;
$custom-light: #9c7be8;
$custom-dark: #000000;
JSON
{
  "hex": "#6645dc",
  "rgb": {
    "r": 102,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 253.113,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51906,
    "c": 0.21681,
    "h": 286.1
  },
  "luminance": 0.12248
}

Semantic roles & 50–950 ramp

primary
#6645DC
secondary
#D0DDA0
accent
#EB3DC5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6645DC

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

Preview Lab → · Contrast checker → · Palette generator →

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