#6F2399#6F2399

#6F2399 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.183 H 310.1°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6F2399
RGBrgb(111, 35, 153)
HSLhsl(279, 63%, 37%)
HSVhsv(279, 77%, 60%)
CMYKcmyk(27.5%, 77.1%, 0%, 40%)
CIE-LABlab(31.54, 52.09, -49.30)
CIE-LCHlch(31.54, 71.72, 316.58°)
OKLaboklab(43.32% 0.1177 -0.1398)
OKLCHoklch(43.32% 0.183 310.1)
XYZxyz(12.9052, 6.8818, 30.7793)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2399 #4D9923
analogous
#342399 #6F2399 #992388
triadic
#6F2399 #996F23 #23996F
tetradic
#6F2399 #993423 #4D9923 #238899
square
#6F2399 #993423 #4D9923 #238899
split-complementary
#6F2399 #889923 #239934
monochromatic
#270C35 #4B1867 #6F2399 #932ECB #AD5DDA

Accessibility & contrast

On white

8.84
#6F2399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6F2399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2399
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2399#FFFFFF#000000##FFFFFF
##6F23991.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#014B97
Tritanopia (blue-blind)
#693F5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f2399;
/* rgb */ color: rgb(111, 35, 153);
/* oklch */ color: oklch(43.3% 0.183 310.1);
Tailwind
colors: {
  custom: {
    50: '#9d67b8',
    500: '#6f2399',
    950: '#000000',
  },
}
SCSS
$custom: #6f2399;
$custom-light: #9d67b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2399",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 278.644,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43319,
    "c": 0.18273,
    "h": 310.1
  },
  "luminance": 0.06881
}

Semantic roles & 50–950 ramp

primary
#6F2399
secondary
#7DBE59
accent
#E6427C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F2399

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

Preview Lab → · Contrast checker → · Palette generator →

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