#6D64AA#6D64AA

#6D64AA is a mid, moderate blue. Relative luminance 0.153; OKLCH L 54.3% C 0.107 H 288.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6D64AA
RGBrgb(109, 100, 170)
HSLhsl(248, 29%, 53%)
HSVhsv(248, 41%, 67%)
CMYKcmyk(35.9%, 41.2%, 0%, 33.3%)
CIE-LABlab(46.00, 20.52, -36.36)
CIE-LCHlch(46.00, 41.76, 299.44°)
OKLaboklab(54.25% 0.0335 -0.1021)
OKLCHoklch(54.25% 0.107 288.2)
XYZxyz(18.1176, 15.2673, 40.0147)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D64AA #A1AA64
analogous
#647EAA #6D64AA #9064AA
triadic
#6D64AA #AA6D64 #64AA6D
tetradic
#6D64AA #AA647E #A1AA64 #64AA90
square
#6D64AA #AA647E #A1AA64 #64AA90
split-complementary
#6D64AA #AA9064 #7EAA64
monochromatic
#3A345F #524A87 #6D64AA #928CC0 #B7B3D5

Accessibility & contrast

On white

5.18
#6D64AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6D64AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D64AA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D64AA#FFFFFF#000000##FFFFFF
##6D64AA1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAD
Deuteranopia (green-blind)
#4D6BA8
Tritanopia (blue-blind)
#5D717F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6d64aa;
/* rgb */ color: rgb(109, 100, 170);
/* oklch */ color: oklch(54.3% 0.107 288.2);
Tailwind
colors: {
  custom: {
    50: '#9990c3',
    500: '#6d64aa',
    950: '#000000',
  },
}
SCSS
$custom: #6d64aa;
$custom-light: #9990c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d64aa",
  "rgb": {
    "r": 109,
    "g": 100,
    "b": 170
  },
  "hsl": {
    "h": 247.714,
    "s": 29.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54252,
    "c": 0.10747,
    "h": 288.2
  },
  "luminance": 0.15268
}

Semantic roles & 50–950 ramp

primary
#6D64AA
secondary
#C0C4A6
accent
#C562B9
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C12
muted
#7E7D81

Preview Lab

Preview with #6D64AA

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

Preview Lab → · Contrast checker → · Palette generator →

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