#6645DD#6645DD

#6645DD is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.0% C 0.218 H 286.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#6645DD
RGBrgb(102, 69, 221)
HSLhsl(253, 69%, 57%)
HSVhsv(253, 69%, 87%)
CMYKcmyk(53.8%, 68.8%, 0%, 13.3%)
CIE-LABlab(41.69, 51.94, -72.88)
CIE-LCHlch(41.69, 89.50, 305.48°)
OKLaboklab(51.99% 0.0601 -0.2095)
OKLCHoklch(51.99% 0.218 286)
XYZxyz(20.6548, 12.3004, 69.6784)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6645DD #BCDD45
analogous
#4570DD #6645DD #B245DD
triadic
#6645DD #DD6645 #45DD66
tetradic
#6645DD #DD4570 #BCDD45 #45DDB2
square
#6645DD #DD4570 #BCDD45 #45DDB2
split-complementary
#6645DD #DDB245 #70DD45
monochromatic
#331A8E #4623C1 #6645DD #9179E6 #BBACF0

Accessibility & contrast

On white

6.07
#6645DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6645DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6645DD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6645DD#FFFFFF#000000##FFFFFF
##6645DD1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E2
Deuteranopia (green-blind)
#005EDA
Tritanopia (blue-blind)
#336D8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6645dd;
/* rgb */ color: rgb(102, 69, 221);
/* oklch */ color: oklch(52.0% 0.218 286.0);
Tailwind
colors: {
  custom: {
    50: '#9d7be9',
    500: '#6645dd',
    950: '#000000',
  },
}
SCSS
$custom: #6645dd;
$custom-light: #9d7be9;
$custom-dark: #000000;
JSON
{
  "hex": "#6645dd",
  "rgb": {
    "r": 102,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 253.026,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51991,
    "c": 0.21799,
    "h": 286
  },
  "luminance": 0.12301
}

Semantic roles & 50–950 ramp

primary
#6645DD
secondary
#D0DEA0
accent
#EC3CC6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6645DD

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

Preview Lab → · Contrast checker → · Palette generator →

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