#6A50BB#6A50BB

#6A50BB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.4% C 0.161 H 290.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#6A50BB
RGBrgb(106, 80, 187)
HSLhsl(255, 44%, 52%)
HSVhsv(255, 57%, 73%)
CMYKcmyk(43.3%, 57.2%, 0%, 26.7%)
CIE-LABlab(41.83, 36.70, -53.00)
CIE-LCHlch(41.83, 64.46, 304.70°)
OKLaboklab(51.38% 0.0573 -0.1509)
OKLCHoklch(51.38% 0.161 290.8)
XYZxyz(17.7797, 12.3888, 48.4586)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A50BB #A1BB50
analogous
#506CBB #6A50BB #9F50BB
triadic
#6A50BB #BB6A50 #50BB6A
tetradic
#6A50BB #BB506C #A1BB50 #50BB9F
square
#6A50BB #BB506C #A1BB50 #50BB9F
split-complementary
#6A50BB #BB9F50 #6CBB50
monochromatic
#382868 #503A94 #6A50BB #907CCC #B5A8DD

Accessibility & contrast

On white

6.04
#6A50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6A50BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A50BB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A50BB#FFFFFF#000000##FFFFFF
##6A50BB1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E65BF
Deuteranopia (green-blind)
#1760B9
Tritanopia (blue-blind)
#53677E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a50bb;
/* rgb */ color: rgb(106, 80, 187);
/* oklch */ color: oklch(51.4% 0.161 290.8);
Tailwind
colors: {
  custom: {
    50: '#9a82d0',
    500: '#6a50bb',
    950: '#000000',
  },
}
SCSS
$custom: #6a50bb;
$custom-light: #9a82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a50bb",
  "rgb": {
    "r": 106,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 254.579,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51382,
    "c": 0.16147,
    "h": 290.8
  },
  "luminance": 0.12389
}

Semantic roles & 50–950 ramp

primary
#6A50BB
secondary
#BFCB9C
accent
#D454B5
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6A50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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