#6F3EB8#6F3EB8

#6F3EB8 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.9% C 0.183 H 297.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#6F3EB8
RGBrgb(111, 62, 184)
HSLhsl(264, 50%, 48%)
HSVhsv(264, 66%, 72%)
CMYKcmyk(39.7%, 66.3%, 0%, 27.8%)
CIE-LABlab(38.35, 47.05, -56.83)
CIE-LCHlch(38.35, 73.78, 309.62°)
OKLaboklab(48.9% 0.0849 -0.1621)
OKLCHoklch(48.9% 0.183 297.7)
XYZxyz(16.9277, 10.2852, 46.4315)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3EB8 #87B83E
analogous
#3E4AB8 #6F3EB8 #AC3EB8
triadic
#6F3EB8 #B86F3E #3EB86F
tetradic
#6F3EB8 #B83E4A #87B83E #3EB8AC
square
#6F3EB8 #B83E4A #87B83E #3EB8AC
split-complementary
#6F3EB8 #B8AC3E #4AB83E
monochromatic
#381F5C #532F8A #6F3EB8 #9067CC #B195DB

Accessibility & contrast

On white

6.87
#6F3EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6F3EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F3EB8
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3EB8#FFFFFF#000000##FFFFFF
##6F3EB81.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#5D5A76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6f3eb8;
/* rgb */ color: rgb(111, 62, 184);
/* oklch */ color: oklch(48.9% 0.183 297.7);
Tailwind
colors: {
  custom: {
    50: '#9e76ce',
    500: '#6f3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #6f3eb8;
$custom-light: #9e76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3eb8",
  "rgb": {
    "r": 111,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 264.098,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48904,
    "c": 0.18297,
    "h": 297.7
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#6F3EB8
secondary
#AFC78B
accent
#D94FA2
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6F3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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