#6F2396#6F2396

#6F2396 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.180 H 311.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6F2396
RGBrgb(111, 35, 150)
HSLhsl(280, 62%, 36%)
HSVhsv(280, 77%, 59%)
CMYKcmyk(26%, 76.7%, 0%, 41.2%)
CIE-LABlab(31.31, 51.43, -47.83)
CIE-LCHlch(31.31, 70.24, 317.08°)
OKLaboklab(43.09% 0.1183 -0.1355)
OKLCHoklch(43.09% 0.18 311.1)
XYZxyz(12.6605, 6.7839, 29.4907)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2396 #4A9623
analogous
#362396 #6F2396 #962384
triadic
#6F2396 #966F23 #23966F
tetradic
#6F2396 #963623 #4A9623 #238496
square
#6F2396 #963623 #4A9623 #238496
split-complementary
#6F2396 #849623 #239636
monochromatic
#260C33 #4A1764 #6F2396 #942FC8 #AE5BD9

Accessibility & contrast

On white

8.91
#6F2396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6F2396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2396
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2396#FFFFFF#000000##FFFFFF
##6F23961.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#0B4B94
Tritanopia (blue-blind)
#6A3E5B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f2396;
/* rgb */ color: rgb(111, 35, 150);
/* oklch */ color: oklch(43.1% 0.180 311.1);
Tailwind
colors: {
  custom: {
    50: '#9d66b6',
    500: '#6f2396',
    950: '#000000',
  },
}
SCSS
$custom: #6f2396;
$custom-light: #9d66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2396",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 279.652,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43088,
    "c": 0.17983,
    "h": 311.1
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#6F2396
secondary
#7ABD58
accent
#E5437A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F2396

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

Preview Lab → · Contrast checker → · Palette generator →

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