#6F3D9D#6F3D9D

#6F3D9D is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.8% C 0.153 H 305.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#6F3D9D
RGBrgb(111, 61, 157)
HSLhsl(271, 44%, 43%)
HSVhsv(271, 61%, 62%)
CMYKcmyk(29.3%, 61.1%, 0%, 38.4%)
CIE-LABlab(36.27, 40.67, -44.09)
CIE-LCHlch(36.27, 59.98, 312.69°)
OKLaboklab(46.81% 0.0881 -0.1246)
OKLCHoklch(46.81% 0.153 305.3)
XYZxyz(14.3088, 9.1514, 32.9043)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3D9D #6B9D3D
analogous
#3F3D9D #6F3D9D #9D3D9B
triadic
#6F3D9D #9D6F3D #3D9D6F
tetradic
#6F3D9D #9D3F3D #6B9D3D #3D9B9D
square
#6F3D9D #9D3F3D #6B9D3D #3D9B9D
split-complementary
#6F3D9D #9B9D3D #3D9D3F
monochromatic
#311B45 #502C71 #6F3D9D #8E59BE #AC85D0

Accessibility & contrast

On white

7.42
#6F3D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6F3D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3D9D
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3D9D#FFFFFF#000000##FFFFFF
##6F3D9D1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E54A0
Deuteranopia (green-blind)
#28559B
Tritanopia (blue-blind)
#675067
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6f3d9d;
/* rgb */ color: rgb(111, 61, 157);
/* oklch */ color: oklch(46.8% 0.153 305.3);
Tailwind
colors: {
  custom: {
    50: '#9c75ba',
    500: '#6f3d9d',
    950: '#000000',
  },
}
SCSS
$custom: #6f3d9d;
$custom-light: #9c75ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3d9d",
  "rgb": {
    "r": 111,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 271.25,
    "s": 44.037,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46805,
    "c": 0.15259,
    "h": 305.3
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#6F3D9D
secondary
#9ABA7C
accent
#D45491
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6F3D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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