#6F3EB2#6F3EB2

#6F3EB2 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.5% C 0.176 H 299.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#6F3EB2
RGBrgb(111, 62, 178)
HSLhsl(265, 48%, 47%)
HSVhsv(265, 65%, 70%)
CMYKcmyk(37.6%, 65.2%, 0%, 30.2%)
CIE-LABlab(37.91, 45.48, -54.00)
CIE-LCHlch(37.91, 70.60, 310.11°)
OKLaboklab(48.45% 0.0856 -0.1537)
OKLCHoklch(48.45% 0.176 299.1)
XYZxyz(16.3120, 10.0389, 43.1892)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3EB2 #81B23E
analogous
#3E47B2 #6F3EB2 #A93EB2
triadic
#6F3EB2 #B26F3E #3EB26F
tetradic
#6F3EB2 #B23E47 #81B23E #3EB2A9
square
#6F3EB2 #B23E47 #81B23E #3EB2A9
split-complementary
#6F3EB2 #B2A93E #47B23E
monochromatic
#361E57 #532E85 #6F3EB2 #8F64C9 #B092D9

Accessibility & contrast

On white

6.98
#6F3EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6F3EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F3EB2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3EB2#FFFFFF#000000##FFFFFF
##6F3EB21.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.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: #6f3eb2;
/* rgb */ color: rgb(111, 62, 178);
/* oklch */ color: oklch(48.5% 0.176 299.1);
Tailwind
colors: {
  custom: {
    50: '#9d76ca',
    500: '#6f3eb2',
    950: '#000000',
  },
}
SCSS
$custom: #6f3eb2;
$custom-light: #9d76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3eb2",
  "rgb": {
    "r": 111,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 265.345,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48451,
    "c": 0.17596,
    "h": 299.1
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

primary
#6F3EB2
secondary
#ABC488
accent
#D8509E
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #6F3EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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