#6F2EB7#6F2EB7

#6F2EB7 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.9% C 0.201 H 300.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#6F2EB7
RGBrgb(111, 46, 183)
HSLhsl(268, 60%, 45%)
HSVhsv(268, 75%, 72%)
CMYKcmyk(39.3%, 74.9%, 0%, 28.2%)
CIE-LABlab(35.50, 54.53, -60.87)
CIE-LCHlch(35.50, 81.72, 311.85°)
OKLaboklab(46.85% 0.1011 -0.1739)
OKLCHoklch(46.85% 0.201 300.2)
XYZxyz(16.0777, 8.7522, 45.6329)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2EB7 #76B72E
analogous
#2E32B7 #6F2EB7 #B32EB7
triadic
#6F2EB7 #B76F2E #2EB76F
tetradic
#6F2EB7 #B72E32 #76B72E #2EB7B3
square
#6F2EB7 #B72E32 #76B72E #2EB7B3
split-complementary
#6F2EB7 #B7B32E #32B72E
monochromatic
#341555 #512286 #6F2EB7 #8E4FD3 #AD80DF

Accessibility & contrast

On white

7.64
#6F2EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6F2EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2EB7
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2EB7#FFFFFF#000000##FFFFFF
##6F2EB71.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#5E5170
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6f2eb7;
/* rgb */ color: rgb(111, 46, 183);
/* oklch */ color: oklch(46.9% 0.201 300.2);
Tailwind
colors: {
  custom: {
    50: '#9f6dce',
    500: '#6f2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #6f2eb7;
$custom-light: #9f6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2eb7",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 268.467,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46853,
    "c": 0.20112,
    "h": 300.2
  },
  "luminance": 0.08752
}

Semantic roles & 50–950 ramp

primary
#6F2EB7
secondary
#A2C879
accent
#E34598
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6F2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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