#6D64AB#6D64AB

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

Color values

HEX#6D64AB
RGBrgb(109, 100, 171)
HSLhsl(248, 30%, 53%)
HSVhsv(248, 42%, 67%)
CMYKcmyk(36.3%, 41.5%, 0%, 32.9%)
CIE-LABlab(46.05, 20.80, -36.87)
CIE-LCHlch(46.05, 42.33, 299.43°)
OKLaboklab(54.31% 0.0337 -0.1036)
OKLCHoklch(54.31% 0.109 288)
XYZxyz(18.2125, 15.3053, 40.5148)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D64AB #A2AB64
analogous
#647EAB #6D64AB #9064AB
triadic
#6D64AB #AB6D64 #64AB6D
tetradic
#6D64AB #AB647E #A2AB64 #64AB90
square
#6D64AB #AB647E #A2AB64 #64AB90
split-complementary
#6D64AB #AB9064 #7EAB64
monochromatic
#3A3460 #524A88 #6D64AB #928CC1 #B8B3D6

Accessibility & contrast

On white

5.17
#6D64AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6D64AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D64AB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D64AB#FFFFFF#000000##FFFFFF
##6D64AB1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAE
Deuteranopia (green-blind)
#4C6BA9
Tritanopia (blue-blind)
#5D727F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6d64ab;
/* rgb */ color: rgb(109, 100, 171);
/* oklch */ color: oklch(54.3% 0.109 288.0);
Tailwind
colors: {
  custom: {
    50: '#9990c4',
    500: '#6d64ab',
    950: '#000000',
  },
}
SCSS
$custom: #6d64ab;
$custom-light: #9990c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d64ab",
  "rgb": {
    "r": 109,
    "g": 100,
    "b": 171
  },
  "hsl": {
    "h": 247.606,
    "s": 29.707,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54307,
    "c": 0.10892,
    "h": 288
  },
  "luminance": 0.15306
}

Semantic roles & 50–950 ramp

primary
#6D64AB
secondary
#C1C5A6
accent
#C662B9
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #6D64AB

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

Preview Lab → · Contrast checker → · Palette generator →

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