#6F2EB5#6F2EB5

#6F2EB5 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.199 H 300.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#6F2EB5
RGBrgb(111, 46, 181)
HSLhsl(269, 59%, 45%)
HSVhsv(269, 75%, 71%)
CMYKcmyk(38.7%, 74.6%, 0%, 29%)
CIE-LABlab(35.34, 54.04, -59.95)
CIE-LCHlch(35.34, 80.71, 312.03°)
OKLaboklab(46.69% 0.1016 -0.1712)
OKLCHoklch(46.69% 0.199 300.7)
XYZxyz(15.8710, 8.6696, 44.5443)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2EB5 #74B52E
analogous
#2E31B5 #6F2EB5 #B32EB5
triadic
#6F2EB5 #B56F2E #2EB56F
tetradic
#6F2EB5 #B52E31 #74B52E #2EB5B3
square
#6F2EB5 #B52E31 #74B52E #2EB5B3
split-complementary
#6F2EB5 #B5B32E #31B52E
monochromatic
#331553 #512284 #6F2EB5 #8E4ED2 #AD7FDE

Accessibility & contrast

On white

7.68
#6F2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2EB5
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2EB5#FFFFFF#000000##FFFFFF
##6F2EB51.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#5F506F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6f2eb5;
/* rgb */ color: rgb(111, 46, 181);
/* oklch */ color: oklch(46.7% 0.199 300.7);
Tailwind
colors: {
  custom: {
    50: '#9f6dcc',
    500: '#6f2eb5',
    950: '#000000',
  },
}
SCSS
$custom: #6f2eb5;
$custom-light: #9f6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2eb5",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 268.889,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46688,
    "c": 0.19902,
    "h": 300.7
  },
  "luminance": 0.0867
}

Semantic roles & 50–950 ramp

primary
#6F2EB5
secondary
#A1C778
accent
#E34597
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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