#6F4BAD#6F4BAD

#6F4BAD is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.1% C 0.151 H 297.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#6F4BAD
RGBrgb(111, 75, 173)
HSLhsl(262, 40%, 49%)
HSVhsv(262, 57%, 68%)
CMYKcmyk(35.8%, 56.6%, 0%, 32.2%)
CIE-LABlab(40.29, 36.91, -47.20)
CIE-LCHlch(40.29, 59.92, 308.03°)
OKLaboklab(50.08% 0.07 -0.1338)
OKLCHoklch(50.08% 0.151 297.6)
XYZxyz(16.6126, 11.4286, 40.8578)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4BAD #89AD4B
analogous
#4B58AD #6F4BAD #A04BAD
triadic
#6F4BAD #AD6F4B #4BAD6F
tetradic
#6F4BAD #AD4B58 #89AD4B #4BADA0
square
#6F4BAD #AD4B58 #89AD4B #4BADA0
split-complementary
#6F4BAD #ADA04B #58AD4B
monochromatic
#382658 #543882 #6F4BAD #9073C2 #B29ED5

Accessibility & contrast

On white

6.39
#6F4BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6F4BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4BAD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4BAD#FFFFFF#000000##FFFFFF
##6F4BAD1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5FB0
Deuteranopia (green-blind)
#2B5EAB
Tritanopia (blue-blind)
#615F75
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6f4bad;
/* rgb */ color: rgb(111, 75, 173);
/* oklch */ color: oklch(50.1% 0.151 297.6);
Tailwind
colors: {
  custom: {
    50: '#9c7ec6',
    500: '#6f4bad',
    950: '#000000',
  },
}
SCSS
$custom: #6f4bad;
$custom-light: #9c7ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4bad",
  "rgb": {
    "r": 111,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 262.041,
    "s": 39.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50079,
    "c": 0.151,
    "h": 297.6
  },
  "luminance": 0.11429
}

Semantic roles & 50–950 ramp

primary
#6F4BAD
secondary
#B0C192
accent
#CF58A4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #6F4BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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