#6F2FB1#6F2FB1

#6F2FB1 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.194 H 301.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#6F2FB1
RGBrgb(111, 47, 177)
HSLhsl(270, 58%, 44%)
HSVhsv(270, 73%, 69%)
CMYKcmyk(37.3%, 73.4%, 0%, 30.6%)
CIE-LABlab(35.18, 52.62, -57.85)
CIE-LCHlch(35.18, 78.20, 312.29°)
OKLaboklab(46.47% 0.1015 -0.165)
OKLCHoklch(46.47% 0.194 301.6)
XYZxyz(15.5060, 8.5868, 42.4270)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2FB1 #71B12F
analogous
#2F30B1 #6F2FB1 #B02FB1
triadic
#6F2FB1 #B16F2F #2FB16F
tetradic
#6F2FB1 #B12F30 #71B12F #2FB1B0
square
#6F2FB1 #B12F30 #71B12F #2FB1B0
split-complementary
#6F2FB1 #B1B02F #30B12F
monochromatic
#321550 #512281 #6F2FB1 #8E4DD0 #AC7EDD

Accessibility & contrast

On white

7.73
#6F2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6F2FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2FB1
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2FB1#FFFFFF#000000##FFFFFF
##6F2FB11.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#614F6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6f2fb1;
/* rgb */ color: rgb(111, 47, 177);
/* oklch */ color: oklch(46.5% 0.194 301.6);
Tailwind
colors: {
  custom: {
    50: '#9e6ec9',
    500: '#6f2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #6f2fb1;
$custom-light: #9e6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2fb1",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 269.538,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46473,
    "c": 0.19368,
    "h": 301.6
  },
  "luminance": 0.08587
}

Semantic roles & 50–950 ramp

primary
#6F2FB1
secondary
#9FC576
accent
#E14795
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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