#6F50B3#6F50B3

#6F50B3 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.3% C 0.151 H 295.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#6F50B3
RGBrgb(111, 80, 179)
HSLhsl(259, 39%, 51%)
HSVhsv(259, 55%, 70%)
CMYKcmyk(38%, 55.3%, 0%, 29.8%)
CIE-LABlab(41.80, 35.63, -48.32)
CIE-LCHlch(41.80, 60.04, 306.40°)
OKLaboklab(51.31% 0.0638 -0.1371)
OKLCHoklch(51.31% 0.151 295)
XYZxyz(17.5588, 12.3712, 44.1018)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F50B3 #94B350
analogous
#5062B3 #6F50B3 #A050B3
triadic
#6F50B3 #B36F50 #50B36F
tetradic
#6F50B3 #B35062 #94B350 #50B3A0
square
#6F50B3 #B35062 #94B350 #50B3A0
split-complementary
#6F50B3 #B3A050 #62B350
monochromatic
#3A295F #543C8A #6F50B3 #927BC6 #B5A5D8

Accessibility & contrast

On white

6.04
#6F50B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6F50B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F50B3
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F50B3#FFFFFF#000000##FFFFFF
##6F50B31.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2263B6
Deuteranopia (green-blind)
#2B61B1
Tritanopia (blue-blind)
#5E647A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6f50b3;
/* rgb */ color: rgb(111, 80, 179);
/* oklch */ color: oklch(51.3% 0.151 295.0);
Tailwind
colors: {
  custom: {
    50: '#9c82ca',
    500: '#6f50b3',
    950: '#000000',
  },
}
SCSS
$custom: #6f50b3;
$custom-light: #9c82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f50b3",
  "rgb": {
    "r": 111,
    "g": 80,
    "b": 179
  },
  "hsl": {
    "h": 258.788,
    "s": 39.442,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51312,
    "c": 0.15119,
    "h": 295
  },
  "luminance": 0.12372
}

Semantic roles & 50–950 ramp

primary
#6F50B3
secondary
#B8C599
accent
#CF58AA
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #6F50B3

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

Preview Lab → · Contrast checker → · Palette generator →

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