#6F2DB2#6F2DB2

#6F2DB2 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.197 H 301.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6F2DB2
RGBrgb(111, 45, 178)
HSLhsl(270, 60%, 44%)
HSVhsv(270, 75%, 70%)
CMYKcmyk(37.6%, 74.7%, 0%, 30.2%)
CIE-LABlab(34.94, 53.75, -58.82)
CIE-LCHlch(34.94, 79.68, 312.42°)
OKLaboklab(46.33% 0.1031 -0.1678)
OKLCHoklch(46.33% 0.197 301.6)
XYZxyz(15.5279, 8.4706, 42.9278)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2DB2 #70B22D
analogous
#2D2EB2 #6F2DB2 #B12DB2
triadic
#6F2DB2 #B26F2D #2DB26F
tetradic
#6F2DB2 #B22D2E #70B22D #2DB2B1
square
#6F2DB2 #B22D2E #70B22D #2DB2B1
split-complementary
#6F2DB2 #B2B12D #2EB22D
monochromatic
#321450 #512181 #6F2DB2 #8E4BD1 #AC7CDE

Accessibility & contrast

On white

7.79
#6F2DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2DB2
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2DB2#FFFFFF#000000##FFFFFF
##6F2DB21.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#604F6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f2db2;
/* rgb */ color: rgb(111, 45, 178);
/* oklch */ color: oklch(46.3% 0.197 301.6);
Tailwind
colors: {
  custom: {
    50: '#9e6dca',
    500: '#6f2db2',
    950: '#000000',
  },
}
SCSS
$custom: #6f2db2;
$custom-light: #9e6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2db2",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 269.774,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46334,
    "c": 0.19698,
    "h": 301.6
  },
  "luminance": 0.08471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F2DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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