#6F51F4#6F51F4

#6F51F4 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.231 H 284.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6F51F4
RGBrgb(111, 81, 244)
HSLhsl(251, 88%, 64%)
HSVhsv(251, 67%, 96%)
CMYKcmyk(54.5%, 66.8%, 0%, 4.3%)
CIE-LABlab(46.70, 53.56, -77.66)
CIE-LCHlch(46.70, 94.34, 304.59°)
OKLaboklab(56.36% 0.0584 -0.2233)
OKLCHoklch(56.36% 0.231 284.7)
XYZxyz(25.8222, 15.7945, 87.2584)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F51F4 #D6F451
analogous
#5184F4 #6F51F4 #C051F4
triadic
#6F51F4 #F46F51 #51F46F
tetradic
#6F51F4 #F45184 #D6F451 #51F4C0
square
#6F51F4 #F45184 #D6F451 #51F4C0
split-complementary
#6F51F4 #F4C051 #84F451
monochromatic
#2D0CBF #3F17F0 #6F51F4 #9F8BF8 #CEC4FB

Accessibility & contrast

On white

5.05
#6F51F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6F51F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F51F4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F51F4#FFFFFF#000000##FFFFFF
##6F51F41.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F9
Deuteranopia (green-blind)
#006AF1
Tritanopia (blue-blind)
#327B9C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6f51f4;
/* rgb */ color: rgb(111, 81, 244);
/* oklch */ color: oklch(56.4% 0.231 284.7);
Tailwind
colors: {
  custom: {
    50: '#a484f9',
    500: '#6f51f4',
    950: '#000000',
  },
}
SCSS
$custom: #6f51f4;
$custom-light: #a484f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f51f4",
  "rgb": {
    "r": 111,
    "g": 81,
    "b": 244
  },
  "hsl": {
    "h": 251.043,
    "s": 88.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.5636,
    "c": 0.23081,
    "h": 284.7
  },
  "luminance": 0.15796
}

Semantic roles & 50–950 ramp

primary
#6F51F4
secondary
#E3EDB4
accent
#E501BB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6F51F4

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

Preview Lab → · Contrast checker → · Palette generator →

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