#6A66AB#6A66AB

#6A66AB is a mid, moderate blue. Relative luminance 0.155; OKLCH L 54.5% C 0.106 H 284.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6A66AB
RGBrgb(106, 102, 171)
HSLhsl(243, 29%, 54%)
HSVhsv(243, 40%, 67%)
CMYKcmyk(38%, 40.4%, 0%, 32.9%)
CIE-LABlab(46.32, 18.74, -36.46)
CIE-LCHlch(46.32, 40.99, 297.21°)
OKLaboklab(54.45% 0.0273 -0.1024)
OKLCHoklch(54.45% 0.106 284.9)
XYZxyz(18.0439, 15.5066, 40.5625)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A66AB #A7AB66
analogous
#6684AB #6A66AB #8C66AB
triadic
#6A66AB #AB6A66 #66AB6A
tetradic
#6A66AB #AB6684 #A7AB66 #66AB8C
square
#6A66AB #AB6684 #A7AB66 #66AB8C
split-complementary
#6A66AB #AB8C66 #84AB66
monochromatic
#383561 #4F4B89 #6A66AB #908EC1 #B7B5D6

Accessibility & contrast

On white

5.12
#6A66AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6A66AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A66AB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A66AB#FFFFFF#000000##FFFFFF
##6A66AB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F70AE
Deuteranopia (green-blind)
#4D6CA9
Tritanopia (blue-blind)
#587380
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6a66ab;
/* rgb */ color: rgb(106, 102, 171);
/* oklch */ color: oklch(54.5% 0.106 284.9);
Tailwind
colors: {
  custom: {
    50: '#9791c4',
    500: '#6a66ab',
    950: '#000000',
  },
}
SCSS
$custom: #6a66ab;
$custom-light: #9791c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a66ab",
  "rgb": {
    "r": 106,
    "g": 102,
    "b": 171
  },
  "hsl": {
    "h": 243.478,
    "s": 29.114,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54452,
    "c": 0.10604,
    "h": 284.9
  },
  "luminance": 0.15507
}

Semantic roles & 50–950 ramp

primary
#6A66AB
secondary
#C3C5A8
accent
#C562C0
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #6A66AB

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

Preview Lab → · Contrast checker → · Palette generator →

#6A66AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva