#6F3399#6F3399

#6F3399 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.163 H 308.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#6F3399
RGBrgb(111, 51, 153)
HSLhsl(275, 50%, 40%)
HSVhsv(275, 67%, 60%)
CMYKcmyk(27.5%, 66.7%, 0%, 40%)
CIE-LABlab(34.08, 44.93, -45.19)
CIE-LCHlch(34.08, 63.72, 314.84°)
OKLaboklab(45.13% 0.1007 -0.1278)
OKLCHoklch(45.13% 0.163 308.2)
XYZxyz(13.4880, 8.0473, 30.9735)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3399 #5D9933
analogous
#3C3399 #6F3399 #993390
triadic
#6F3399 #996F33 #33996F
tetradic
#6F3399 #993C33 #5D9933 #339099
square
#6F3399 #993C33 #5D9933 #339099
split-complementary
#6F3399 #909933 #33993C
monochromatic
#2C143D #4E246B #6F3399 #8F47C2 #AB75D1

Accessibility & contrast

On white

8.05
#6F3399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6F3399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3399
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3399#FFFFFF#000000##FFFFFF
##6F33991.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#205197
Tritanopia (blue-blind)
#694861
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f3399;
/* rgb */ color: rgb(111, 51, 153);
/* oklch */ color: oklch(45.1% 0.163 308.2);
Tailwind
colors: {
  custom: {
    50: '#9c6fb8',
    500: '#6f3399',
    950: '#000000',
  },
}
SCSS
$custom: #6f3399;
$custom-light: #9c6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3399",
  "rgb": {
    "r": 111,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 275.294,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.45132,
    "c": 0.16269,
    "h": 308.2
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#6F3399
secondary
#8DB96E
accent
#DA4E88
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6F3399

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

Preview Lab → · Contrast checker → · Palette generator →

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