#6F2DB7#6F2DB7

#6F2DB7 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.202 H 300.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#6F2DB7
RGBrgb(111, 45, 183)
HSLhsl(269, 61%, 45%)
HSVhsv(269, 75%, 72%)
CMYKcmyk(39.3%, 75.4%, 0%, 28.2%)
CIE-LABlab(35.35, 54.96, -61.12)
CIE-LCHlch(35.35, 82.20, 311.96°)
OKLaboklab(46.75% 0.102 -0.1746)
OKLCHoklch(46.75% 0.202 300.3)
XYZxyz(16.0390, 8.6750, 45.6200)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2DB7 #75B72D
analogous
#2D30B7 #6F2DB7 #B42DB7
triadic
#6F2DB7 #B76F2D #2DB76F
tetradic
#6F2DB7 #B72D30 #75B72D #2DB7B4
square
#6F2DB7 #B72D30 #75B72D #2DB7B4
split-complementary
#6F2DB7 #B7B42D #30B72D
monochromatic
#331555 #512186 #6F2DB7 #8E4ED3 #AD7FDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F2DB7#FFFFFF#000000##FFFFFF
##6F2DB71.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)
#0053BB
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#5E5170
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6f2db7;
/* rgb */ color: rgb(111, 45, 183);
/* oklch */ color: oklch(46.7% 0.202 300.3);
Tailwind
colors: {
  custom: {
    50: '#9f6dce',
    500: '#6f2db7',
    950: '#000000',
  },
}
SCSS
$custom: #6f2db7;
$custom-light: #9f6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2db7",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 268.696,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46746,
    "c": 0.20219,
    "h": 300.3
  },
  "luminance": 0.08675
}

Semantic roles & 50–950 ramp

primary
#6F2DB7
secondary
#A2C878
accent
#E44497
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6F2DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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