#6F2FB7#6F2FB7

#6F2FB7 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.200 H 300.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6F2FB7
RGBrgb(111, 47, 183)
HSLhsl(268, 59%, 45%)
HSVhsv(268, 74%, 72%)
CMYKcmyk(39.3%, 74.3%, 0%, 28.2%)
CIE-LABlab(35.66, 54.09, -60.62)
CIE-LCHlch(35.66, 81.24, 311.74°)
OKLaboklab(46.96% 0.1002 -0.1731)
OKLCHoklch(46.96% 0.2 300.1)
XYZxyz(16.1172, 8.8313, 45.6460)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2FB7 #77B72F
analogous
#2F33B7 #6F2FB7 #B32FB7
triadic
#6F2FB7 #B76F2F #2FB76F
tetradic
#6F2FB7 #B72F33 #77B72F #2FB7B3
square
#6F2FB7 #B72F33 #77B72F #2FB7B3
split-complementary
#6F2FB7 #B7B32F #33B72F
monochromatic
#341656 #512286 #6F2FB7 #8E51D2 #AD82DF

Accessibility & contrast

On white

7.59
#6F2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6F2FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2FB7
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2FB7#FFFFFF#000000##FFFFFF
##6F2FB71.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#5E5271
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f2fb7;
/* rgb */ color: rgb(111, 47, 183);
/* oklch */ color: oklch(47.0% 0.200 300.1);
Tailwind
colors: {
  custom: {
    50: '#9f6ece',
    500: '#6f2fb7',
    950: '#000000',
  },
}
SCSS
$custom: #6f2fb7;
$custom-light: #9f6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2fb7",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 268.235,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46962,
    "c": 0.20003,
    "h": 300.1
  },
  "luminance": 0.08831
}

Semantic roles & 50–950 ramp

primary
#6F2FB7
secondary
#A3C87A
accent
#E24599
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6F2FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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