#6F2DB1#6F2DB1

#6F2DB1 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.3% C 0.196 H 301.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#6F2DB1
RGBrgb(111, 45, 177)
HSLhsl(270, 59%, 44%)
HSVhsv(270, 75%, 69%)
CMYKcmyk(37.3%, 74.6%, 0%, 30.6%)
CIE-LABlab(34.86, 53.51, -58.35)
CIE-LCHlch(34.86, 79.17, 312.52°)
OKLaboklab(46.25% 0.1034 -0.1664)
OKLCHoklch(46.25% 0.196 301.8)
XYZxyz(15.4278, 8.4305, 42.4009)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2DB1 #6FB12D
analogous
#2D2DB1 #6F2DB1 #B12DB1
triadic
#6F2DB1 #B16F2D #2DB16F
tetradic
#6F2DB1 #B12D2D #6FB12D #2DB1B1
square
#6F2DB1 #B12D2D #6FB12D #2DB1B1
split-complementary
#6F2DB1 #B1B12D #2DB12D
monochromatic
#32144F #502180 #6F2DB1 #8E4AD1 #AC7BDD

Accessibility & contrast

On white

7.82
#6F2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6F2DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2DB1
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2DB1#FFFFFF#000000##FFFFFF
##6F2DB11.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#614E6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f2db1;
/* rgb */ color: rgb(111, 45, 177);
/* oklch */ color: oklch(46.3% 0.196 301.8);
Tailwind
colors: {
  custom: {
    50: '#9e6dc9',
    500: '#6f2db1',
    950: '#000000',
  },
}
SCSS
$custom: #6f2db1;
$custom-light: #9e6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2db1",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 270,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46252,
    "c": 0.19593,
    "h": 301.8
  },
  "luminance": 0.08431
}

Semantic roles & 50–950 ramp

primary
#6F2DB1
secondary
#9DC674
accent
#E34594
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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