#6A50DB#6A50DB

#6A50DB is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 53.8% C 0.202 H 286.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6A50DB
RGBrgb(106, 80, 219)
HSLhsl(251, 66%, 59%)
HSVhsv(251, 63%, 86%)
CMYKcmyk(51.6%, 63.5%, 0%, 14.1%)
CIE-LABlab(44.11, 46.00, -67.78)
CIE-LCHlch(44.11, 81.91, 304.17°)
OKLaboklab(53.77% 0.0557 -0.1944)
OKLCHoklch(53.77% 0.202 286)
XYZxyz(21.5949, 13.9149, 68.5521)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A50DB #C1DB50
analogous
#507BDB #6A50DB #AF50DB
triadic
#6A50DB #DB6A50 #50DB6A
tetradic
#6A50DB #DB507B #C1DB50 #50DBAF
square
#6A50DB #DB507B #C1DB50 #50DBAF
split-complementary
#6A50DB #DBAF50 #7BDB50
monochromatic
#341E92 #4629C5 #6A50DB #9583E5 #C0B6F0

Accessibility & contrast

On white

5.55
#6A50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6A50DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A50DB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A50DB#FFFFFF#000000##FFFFFF
##6A50DB1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#3E728E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6a50db;
/* rgb */ color: rgb(106, 80, 219);
/* oklch */ color: oklch(53.8% 0.202 286.0);
Tailwind
colors: {
  custom: {
    50: '#9e82e7',
    500: '#6a50db',
    950: '#000000',
  },
}
SCSS
$custom: #6a50db;
$custom-light: #9e82e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a50db",
  "rgb": {
    "r": 106,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 251.223,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53773,
    "c": 0.20225,
    "h": 286
  },
  "luminance": 0.13916
}

Semantic roles & 50–950 ramp

primary
#6A50DB
secondary
#D5DFA8
accent
#E93FC9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6A50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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