#6F3DB2#6F3DB2

#6F3DB2 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.3% C 0.177 H 299.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#6F3DB2
RGBrgb(111, 61, 178)
HSLhsl(266, 49%, 47%)
HSVhsv(266, 66%, 70%)
CMYKcmyk(37.6%, 65.7%, 0%, 30.2%)
CIE-LABlab(37.72, 46.01, -54.31)
CIE-LCHlch(37.72, 71.18, 310.27°)
OKLaboklab(48.31% 0.0867 -0.1546)
OKLCHoklch(48.31% 0.177 299.3)
XYZxyz(16.2582, 9.9312, 43.1712)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3DB2 #80B23D
analogous
#3D46B2 #6F3DB2 #AA3DB2
triadic
#6F3DB2 #B26F3D #3DB26F
tetradic
#6F3DB2 #B23D46 #80B23D #3DB2AA
square
#6F3DB2 #B23D46 #80B23D #3DB2AA
split-complementary
#6F3DB2 #B2AA3D #46B23D
monochromatic
#361E57 #532D84 #6F3DB2 #8F63C9 #AF90D9

Accessibility & contrast

On white

7.03
#6F3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6F3DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3DB2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3DB2#FFFFFF#000000##FFFFFF
##6F3DB21.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#605872
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6f3db2;
/* rgb */ color: rgb(111, 61, 178);
/* oklch */ color: oklch(48.3% 0.177 299.3);
Tailwind
colors: {
  custom: {
    50: '#9d76ca',
    500: '#6f3db2',
    950: '#000000',
  },
}
SCSS
$custom: #6f3db2;
$custom-light: #9d76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3db2",
  "rgb": {
    "r": 111,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 265.641,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48311,
    "c": 0.17731,
    "h": 299.3
  },
  "luminance": 0.09931
}

Semantic roles & 50–950 ramp

primary
#6F3DB2
secondary
#AAC487
accent
#D94F9E
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #6F3DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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