#6F51DD#6F51DD

#6F51DD is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.5% C 0.203 H 287.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6F51DD
RGBrgb(111, 81, 221)
HSLhsl(253, 67%, 59%)
HSVhsv(253, 63%, 87%)
CMYKcmyk(49.8%, 63.3%, 0%, 13.3%)
CIE-LABlab(44.92, 46.93, -67.58)
CIE-LCHlch(44.92, 82.28, 304.78°)
OKLaboklab(54.52% 0.0611 -0.1937)
OKLCHoklch(54.52% 0.203 287.5)
XYZxyz(22.5453, 14.4838, 70.0003)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F51DD #BFDD51
analogous
#5179DD #6F51DD #B551DD
triadic
#6F51DD #DD6F51 #51DD6F
tetradic
#6F51DD #DD5179 #BFDD51 #51DDB5
square
#6F51DD #DD5179 #BFDD51 #51DDB5
split-complementary
#6F51DD #DDB551 #79DD51
monochromatic
#371D96 #4A27C9 #6F51DD #9984E7 #C4B7F1

Accessibility & contrast

On white

5.39
#6F51DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6F51DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F51DD
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F51DD#FFFFFF#000000##FFFFFF
##6F51DD1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#487390
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6f51dd;
/* rgb */ color: rgb(111, 81, 221);
/* oklch */ color: oklch(54.5% 0.203 287.5);
Tailwind
colors: {
  custom: {
    50: '#a183e9',
    500: '#6f51dd',
    950: '#000000',
  },
}
SCSS
$custom: #6f51dd;
$custom-light: #a183e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f51dd",
  "rgb": {
    "r": 111,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 252.857,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54516,
    "c": 0.20311,
    "h": 287.5
  },
  "luminance": 0.14485
}

Semantic roles & 50–950 ramp

primary
#6F51DD
secondary
#D5E0AA
accent
#EA3EC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6F51DD

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

Preview Lab → · Contrast checker → · Palette generator →

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