#6F2DB5#6F2DB5

#6F2DB5 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.6% C 0.200 H 300.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#6F2DB5
RGBrgb(111, 45, 181)
HSLhsl(269, 60%, 44%)
HSVhsv(269, 75%, 71%)
CMYKcmyk(38.7%, 75.1%, 0%, 29%)
CIE-LABlab(35.19, 54.47, -60.20)
CIE-LCHlch(35.19, 81.19, 312.14°)
OKLaboklab(46.58% 0.1025 -0.1719)
OKLCHoklch(46.58% 0.2 300.8)
XYZxyz(15.8324, 8.5924, 44.5315)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2DB5 #73B52D
analogous
#2D2FB5 #6F2DB5 #B32DB5
triadic
#6F2DB5 #B56F2D #2DB56F
tetradic
#6F2DB5 #B52D2F #73B52D #2DB5B3
square
#6F2DB5 #B52D2F #73B52D #2DB5B3
split-complementary
#6F2DB5 #B5B32D #2FB52D
monochromatic
#331553 #512184 #6F2DB5 #8E4DD3 #AD7EDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F2DB5#FFFFFF#000000##FFFFFF
##6F2DB51.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)
#0052B9
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#5F506F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6f2db5;
/* rgb */ color: rgb(111, 45, 181);
/* oklch */ color: oklch(46.6% 0.200 300.8);
Tailwind
colors: {
  custom: {
    50: '#9f6dcc',
    500: '#6f2db5',
    950: '#000000',
  },
}
SCSS
$custom: #6f2db5;
$custom-light: #9f6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2db5",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 269.118,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46581,
    "c": 0.20011,
    "h": 300.8
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#6F2DB5
secondary
#A0C776
accent
#E34496
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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