#6F2FB6#6F2FB6

#6F2FB6 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.199 H 300.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#6F2FB6
RGBrgb(111, 47, 182)
HSLhsl(268, 59%, 45%)
HSVhsv(268, 74%, 71%)
CMYKcmyk(39%, 74.2%, 0%, 28.6%)
CIE-LABlab(35.58, 53.84, -60.16)
CIE-LCHlch(35.58, 80.74, 311.83°)
OKLaboklab(46.88% 0.1004 -0.1718)
OKLCHoklch(46.88% 0.199 300.3)
XYZxyz(16.0135, 8.7898, 45.0998)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2FB6 #76B62F
analogous
#2F33B6 #6F2FB6 #B22FB6
triadic
#6F2FB6 #B66F2F #2FB66F
tetradic
#6F2FB6 #B62F33 #76B62F #2FB6B2
square
#6F2FB6 #B62F33 #76B62F #2FB6B2
split-complementary
#6F2FB6 #B6B22F #33B62F
monochromatic
#341655 #512285 #6F2FB6 #8E50D2 #AD81DE

Accessibility & contrast

On white

7.61
#6F2FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6F2FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2FB6
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2FB6#FFFFFF#000000##FFFFFF
##6F2FB61.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#5F5170
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f2fb6;
/* rgb */ color: rgb(111, 47, 182);
/* oklch */ color: oklch(46.9% 0.199 300.3);
Tailwind
colors: {
  custom: {
    50: '#9f6ecd',
    500: '#6f2fb6',
    950: '#000000',
  },
}
SCSS
$custom: #6f2fb6;
$custom-light: #9f6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2fb6",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 268.444,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4688,
    "c": 0.19897,
    "h": 300.3
  },
  "luminance": 0.0879
}

Semantic roles & 50–950 ramp

primary
#6F2FB6
secondary
#A2C779
accent
#E24698
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6F2FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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