#6F2795#6F2795

#6F2795 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.174 H 311.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6F2795
RGBrgb(111, 39, 149)
HSLhsl(279, 59%, 37%)
HSVhsv(279, 74%, 58%)
CMYKcmyk(25.5%, 73.8%, 0%, 41.6%)
CIE-LABlab(31.81, 49.58, -46.41)
CIE-LCHlch(31.81, 67.91, 316.89°)
OKLaboklab(43.42% 0.1145 -0.1313)
OKLCHoklch(43.42% 0.174 311.1)
XYZxyz(12.7048, 7.0008, 29.1100)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2795 #4D9527
analogous
#382795 #6F2795 #952784
triadic
#6F2795 #956F27 #27956F
tetradic
#6F2795 #953827 #4D9527 #278495
square
#6F2795 #953827 #4D9527 #278495
split-complementary
#6F2795 #849527 #279538
monochromatic
#270E34 #4B1A64 #6F2795 #9334C6 #AD61D6

Accessibility & contrast

On white

8.75
#6F2795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6F2795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2795
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2795#FFFFFF#000000##FFFFFF
##6F27951.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#154C93
Tritanopia (blue-blind)
#6A405C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f2795;
/* rgb */ color: rgb(111, 39, 149);
/* oklch */ color: oklch(43.4% 0.174 311.1);
Tailwind
colors: {
  custom: {
    50: '#9c68b5',
    500: '#6f2795',
    950: '#000000',
  },
}
SCSS
$custom: #6f2795;
$custom-light: #9c68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2795",
  "rgb": {
    "r": 111,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 279.273,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43418,
    "c": 0.17423,
    "h": 311.1
  },
  "luminance": 0.07
}

Semantic roles & 50–950 ramp

primary
#6F2795
secondary
#7DBB5D
accent
#E2467C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #6F2795

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

Preview Lab → · Contrast checker → · Palette generator →

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