#6A6399#6A6399

#6A6399 is a mid, moderate blue. Relative luminance 0.143; OKLCH L 52.9% C 0.084 H 289.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6A6399
RGBrgb(106, 99, 153)
HSLhsl(248, 21%, 49%)
HSVhsv(248, 35%, 60%)
CMYKcmyk(30.7%, 35.3%, 0%, 40%)
CIE-LABlab(44.64, 15.57, -28.47)
CIE-LCHlch(44.64, 32.45, 298.68°)
OKLaboklab(52.88% 0.0275 -0.0793)
OKLCHoklch(52.88% 0.084 289.1)
XYZxyz(16.1540, 14.2874, 32.0375)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6399 #929963
analogous
#637799 #6A6399 #856399
triadic
#6A6399 #996A63 #63996A
tetradic
#6A6399 #996377 #929963 #639985
square
#6A6399 #996377 #929963 #639985
split-complementary
#6A6399 #998563 #779963
monochromatic
#37334F #504B74 #6A6399 #8D88B2 #B0ADCA

Accessibility & contrast

On white

5.44
#6A6399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6A6399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6399
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6399#FFFFFF#000000##FFFFFF
##6A63991.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546B9B
Deuteranopia (green-blind)
#546898
Tritanopia (blue-blind)
#5F6D77
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6a6399;
/* rgb */ color: rgb(106, 99, 153);
/* oklch */ color: oklch(52.9% 0.084 289.1);
Tailwind
colors: {
  custom: {
    50: '#968fb7',
    500: '#6a6399',
    950: '#000000',
  },
}
SCSS
$custom: #6a6399;
$custom-light: #968fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6399",
  "rgb": {
    "r": 106,
    "g": 99,
    "b": 153
  },
  "hsl": {
    "h": 247.778,
    "s": 21.429,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5288,
    "c": 0.08394,
    "h": 289.1
  },
  "luminance": 0.14288
}

Semantic roles & 50–950 ramp

primary
#6A6399
secondary
#B5B89F
accent
#BE6AB3
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0D0C11
muted
#7E7D80

Preview Lab

Preview with #6A6399

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

Preview Lab → · Contrast checker → · Palette generator →

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