#6F2DB6#6F2DB6

#6F2DB6 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.201 H 300.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#6F2DB6
RGBrgb(111, 45, 182)
HSLhsl(269, 60%, 45%)
HSVhsv(269, 75%, 71%)
CMYKcmyk(39%, 75.3%, 0%, 28.6%)
CIE-LABlab(35.27, 54.72, -60.66)
CIE-LCHlch(35.27, 81.69, 312.05°)
OKLaboklab(46.66% 0.1022 -0.1732)
OKLCHoklch(46.66% 0.201 300.5)
XYZxyz(15.9353, 8.6335, 45.0738)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2DB6 #74B62D
analogous
#2D30B6 #6F2DB6 #B42DB6
triadic
#6F2DB6 #B66F2D #2DB66F
tetradic
#6F2DB6 #B62D30 #74B62D #2DB6B4
square
#6F2DB6 #B62D30 #74B62D #2DB6B4
split-complementary
#6F2DB6 #B6B42D #30B62D
monochromatic
#331554 #512185 #6F2DB6 #8E4DD3 #AD7EDF

Accessibility & contrast

On white

7.70
#6F2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2DB6
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2DB6#FFFFFF#000000##FFFFFF
##6F2DB61.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#5F5070
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6f2db6;
/* rgb */ color: rgb(111, 45, 182);
/* oklch */ color: oklch(46.7% 0.201 300.5);
Tailwind
colors: {
  custom: {
    50: '#9f6dcd',
    500: '#6f2db6',
    950: '#000000',
  },
}
SCSS
$custom: #6f2db6;
$custom-light: #9f6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2db6",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 268.905,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46663,
    "c": 0.20114,
    "h": 300.5
  },
  "luminance": 0.08634
}

Semantic roles & 50–950 ramp

primary
#6F2DB6
secondary
#A1C877
accent
#E34497
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6F2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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