#6F3BAD#6F3BAD

#6F3BAD is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.174 H 300.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6F3BAD
RGBrgb(111, 59, 173)
HSLhsl(267, 49%, 45%)
HSVhsv(267, 66%, 68%)
CMYKcmyk(35.8%, 65.9%, 0%, 32.2%)
CIE-LABlab(36.98, 45.77, -52.55)
CIE-LCHlch(36.98, 69.68, 311.06°)
OKLaboklab(47.66% 0.0895 -0.1494)
OKLCHoklch(47.66% 0.174 300.9)
XYZxyz(15.6605, 9.5245, 40.5404)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3BAD #79AD3B
analogous
#3B40AD #6F3BAD #A83BAD
triadic
#6F3BAD #AD6F3B #3BAD6F
tetradic
#6F3BAD #AD3B40 #79AD3B #3BADA8
square
#6F3BAD #AD3B40 #79AD3B #3BADA8
split-complementary
#6F3BAD #ADA83B #40AD3B
monochromatic
#341C52 #522B7F #6F3BAD #8E5DC8 #AE8BD7

Accessibility & contrast

On white

7.23
#6F3BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6F3BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3BAD
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3BAD#FFFFFF#000000##FFFFFF
##6F3BAD1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#0356AB
Tritanopia (blue-blind)
#62556F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f3bad;
/* rgb */ color: rgb(111, 59, 173);
/* oklch */ color: oklch(47.7% 0.174 300.9);
Tailwind
colors: {
  custom: {
    50: '#9d74c6',
    500: '#6f3bad',
    950: '#000000',
  },
}
SCSS
$custom: #6f3bad;
$custom-light: #9d74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3bad",
  "rgb": {
    "r": 111,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 267.368,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47662,
    "c": 0.1742,
    "h": 300.9
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#6F3BAD
secondary
#A5C282
accent
#D94F9A
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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