#6F51DB#6F51DB

#6F51DB is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.4% C 0.201 H 287.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6F51DB
RGBrgb(111, 81, 219)
HSLhsl(253, 66%, 59%)
HSVhsv(253, 63%, 86%)
CMYKcmyk(49.3%, 63%, 0%, 14.1%)
CIE-LABlab(44.77, 46.35, -66.68)
CIE-LCHlch(44.77, 81.21, 304.80°)
OKLaboklab(54.36% 0.0613 -0.191)
OKLCHoklch(54.36% 0.201 287.8)
XYZxyz(22.2804, 14.3778, 68.6053)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F51DB #BDDB51
analogous
#5178DB #6F51DB #B451DB
triadic
#6F51DB #DB6F51 #51DB6F
tetradic
#6F51DB #DB5178 #BDDB51 #51DBB4
square
#6F51DB #DB5178 #BDDB51 #51DBB4
split-complementary
#6F51DB #DBB451 #78DB51
monochromatic
#381E93 #4B29C6 #6F51DB #9984E5 #C3B6F0

Accessibility & contrast

On white

5.42
#6F51DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6F51DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F51DB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F51DB#FFFFFF#000000##FFFFFF
##6F51DB1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#49728F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6f51db;
/* rgb */ color: rgb(111, 81, 219);
/* oklch */ color: oklch(54.4% 0.201 287.8);
Tailwind
colors: {
  custom: {
    50: '#a183e7',
    500: '#6f51db',
    950: '#000000',
  },
}
SCSS
$custom: #6f51db;
$custom-light: #a183e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f51db",
  "rgb": {
    "r": 111,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 253.043,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54361,
    "c": 0.20065,
    "h": 287.8
  },
  "luminance": 0.14379
}

Semantic roles & 50–950 ramp

primary
#6F51DB
secondary
#D3DFA9
accent
#E93FC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6F51DB

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

Preview Lab → · Contrast checker → · Palette generator →

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