#6F50EB#6F50EB

#6F50EB is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.5% C 0.221 H 285.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6F50EB
RGBrgb(111, 80, 235)
HSLhsl(252, 79%, 62%)
HSVhsv(252, 66%, 92%)
CMYKcmyk(52.8%, 66%, 0%, 7.8%)
CIE-LABlab(45.79, 51.51, -74.10)
CIE-LCHlch(45.79, 90.24, 304.80°)
OKLaboklab(55.48% 0.0605 -0.2128)
OKLCHoklch(55.48% 0.221 285.9)
XYZxyz(24.4151, 15.1137, 80.2119)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F50EB #CCEB50
analogous
#507FEB #6F50EB #BD50EB
triadic
#6F50EB #EB6F50 #50EB6F
tetradic
#6F50EB #EB507F #CCEB50 #50EBBD
square
#6F50EB #EB507F #CCEB50 #50EBBD
split-complementary
#6F50EB #EBBD50 #7FEB50
monochromatic
#3214AD #421AE4 #6F50EB #9C87F1 #C9BEF8

Accessibility & contrast

On white

5.22
#6F50EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6F50EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F50EB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F50EB#FFFFFF#000000##FFFFFF
##6F50EB1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#0068E8
Tritanopia (blue-blind)
#3C7797
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6f50eb;
/* rgb */ color: rgb(111, 80, 235);
/* oklch */ color: oklch(55.5% 0.221 285.9);
Tailwind
colors: {
  custom: {
    50: '#a383f3',
    500: '#6f50eb',
    950: '#000000',
  },
}
SCSS
$custom: #6f50eb;
$custom-light: #a383f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f50eb",
  "rgb": {
    "r": 111,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 252,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5548,
    "c": 0.22126,
    "h": 285.9
  },
  "luminance": 0.15115
}

Semantic roles & 50–950 ramp

primary
#6F50EB
secondary
#DDE8AF
accent
#DC0AB2
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6F50EB

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

Preview Lab → · Contrast checker → · Palette generator →

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