#6F3EB3#6F3EB3

#6F3EB3 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.5% C 0.177 H 298.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#6F3EB3
RGBrgb(111, 62, 179)
HSLhsl(265, 49%, 47%)
HSVhsv(265, 65%, 70%)
CMYKcmyk(38%, 65.4%, 0%, 29.8%)
CIE-LABlab(37.98, 45.74, -54.47)
CIE-LCHlch(37.98, 71.13, 310.02°)
OKLaboklab(48.53% 0.0855 -0.1551)
OKLCHoklch(48.53% 0.177 298.9)
XYZxyz(16.4128, 10.0792, 43.7199)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3EB3 #82B33E
analogous
#3E48B3 #6F3EB3 #AA3EB3
triadic
#6F3EB3 #B36F3E #3EB36F
tetradic
#6F3EB3 #B33E48 #82B33E #3EB3AA
square
#6F3EB3 #B33E48 #82B33E #3EB3AA
split-complementary
#6F3EB3 #B3AA3E #48B33E
monochromatic
#371F58 #532E86 #6F3EB3 #8F65CA #B092D9

Accessibility & contrast

On white

6.96
#6F3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6F3EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F3EB3
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3EB3#FFFFFF#000000##FFFFFF
##6F3EB31.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#5F5973
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6f3eb3;
/* rgb */ color: rgb(111, 62, 179);
/* oklch */ color: oklch(48.5% 0.177 298.9);
Tailwind
colors: {
  custom: {
    50: '#9d76ca',
    500: '#6f3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #6f3eb3;
$custom-light: #9d76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3eb3",
  "rgb": {
    "r": 111,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 265.128,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48526,
    "c": 0.17712,
    "h": 298.9
  },
  "luminance": 0.10079
}

Semantic roles & 50–950 ramp

primary
#6F3EB3
secondary
#ABC588
accent
#D8509F
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #6F3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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