#6F51DF#6F51DF

#6F51DF is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.7% C 0.206 H 287.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6F51DF
RGBrgb(111, 81, 223)
HSLhsl(253, 69%, 60%)
HSVhsv(253, 64%, 87%)
CMYKcmyk(50.2%, 63.7%, 0%, 12.5%)
CIE-LABlab(45.07, 47.50, -68.48)
CIE-LCHlch(45.07, 83.34, 304.75°)
OKLaboklab(54.67% 0.061 -0.1963)
OKLCHoklch(54.67% 0.206 287.2)
XYZxyz(22.8133, 14.5910, 71.4120)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F51DF #C1DF51
analogous
#517ADF #6F51DF #B651DF
triadic
#6F51DF #DF6F51 #51DF6F
tetradic
#6F51DF #DF517A #C1DF51 #51DFB6
square
#6F51DF #DF517A #C1DF51 #51DFB6
split-complementary
#6F51DF #DFB651 #7ADF51
monochromatic
#371C99 #4926CD #6F51DF #9A85E9 #C5B8F2

Accessibility & contrast

On white

5.36
#6F51DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6F51DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F51DF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F51DF#FFFFFF#000000##FFFFFF
##6F51DF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#467491
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6f51df;
/* rgb */ color: rgb(111, 81, 223);
/* oklch */ color: oklch(54.7% 0.206 287.2);
Tailwind
colors: {
  custom: {
    50: '#a183ea',
    500: '#6f51df',
    950: '#000000',
  },
}
SCSS
$custom: #6f51df;
$custom-light: #a183ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6f51df",
  "rgb": {
    "r": 111,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 252.676,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54671,
    "c": 0.20556,
    "h": 287.2
  },
  "luminance": 0.14592
}

Semantic roles & 50–950 ramp

primary
#6F51DF
secondary
#D6E1AA
accent
#EC3CC7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6F51DF

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

Preview Lab → · Contrast checker → · Palette generator →

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