#6F2FB2#6F2FB2

#6F2FB2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.195 H 301.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#6F2FB2
RGBrgb(111, 47, 178)
HSLhsl(269, 58%, 44%)
HSVhsv(269, 74%, 70%)
CMYKcmyk(37.6%, 73.6%, 0%, 30.2%)
CIE-LABlab(35.26, 52.86, -58.31)
CIE-LCHlch(35.26, 78.71, 312.19°)
OKLaboklab(46.55% 0.1013 -0.1663)
OKLCHoklch(46.55% 0.195 301.3)
XYZxyz(15.6060, 8.6268, 42.9538)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2FB2 #72B22F
analogous
#2F31B2 #6F2FB2 #B12FB2
triadic
#6F2FB2 #B26F2F #2FB26F
tetradic
#6F2FB2 #B22F31 #72B22F #2FB2B1
square
#6F2FB2 #B22F31 #72B22F #2FB2B1
split-complementary
#6F2FB2 #B2B12F #31B22F
monochromatic
#331551 #512282 #6F2FB2 #8E4ED0 #AD7EDD

Accessibility & contrast

On white

7.71
#6F2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6F2FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2FB2
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2FB2#FFFFFF#000000##FFFFFF
##6F2FB21.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#60506E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6f2fb2;
/* rgb */ color: rgb(111, 47, 178);
/* oklch */ color: oklch(46.6% 0.195 301.3);
Tailwind
colors: {
  custom: {
    50: '#9e6eca',
    500: '#6f2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #6f2fb2;
$custom-light: #9e6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2fb2",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 269.313,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46554,
    "c": 0.19475,
    "h": 301.3
  },
  "luminance": 0.08627
}

Semantic roles & 50–950 ramp

primary
#6F2FB2
secondary
#9FC677
accent
#E14696
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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