#6F27A7#6F27A7

#6F27A7 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.192 H 305.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#6F27A7
RGBrgb(111, 39, 167)
HSLhsl(274, 62%, 40%)
HSVhsv(274, 77%, 65%)
CMYKcmyk(33.5%, 76.6%, 0%, 34.5%)
CIE-LABlab(33.18, 53.67, -55.11)
CIE-LCHlch(33.18, 76.92, 314.24°)
OKLaboklab(44.82% 0.1111 -0.1569)
OKLCHoklch(44.82% 0.192 305.3)
XYZxyz(14.2545, 7.6207, 37.2717)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F27A7 #5FA727
analogous
#2F27A7 #6F27A7 #A7279F
triadic
#6F27A7 #A76F27 #27A76F
tetradic
#6F27A7 #A72F27 #5FA727 #279FA7
square
#6F27A7 #A72F27 #5FA727 #279FA7
split-complementary
#6F27A7 #9FA727 #27A72F
monochromatic
#2D1044 #4E1B75 #6F27A7 #8F3AD1 #AB6CDD

Accessibility & contrast

On white

8.32
#6F27A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6F27A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F27A7
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F27A7#FFFFFF#000000##FFFFFF
##6F27A71.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#654766
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f27a7;
/* rgb */ color: rgb(111, 39, 167);
/* oklch */ color: oklch(44.8% 0.192 305.3);
Tailwind
colors: {
  custom: {
    50: '#9e69c2',
    500: '#6f27a7',
    950: '#000000',
  },
}
SCSS
$custom: #6f27a7;
$custom-light: #9e69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f27a7",
  "rgb": {
    "r": 111,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 273.75,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44818,
    "c": 0.19223,
    "h": 305.3
  },
  "luminance": 0.07621
}

Semantic roles & 50–950 ramp

primary
#6F27A7
secondary
#8FC367
accent
#E5438A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F27A7

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

Preview Lab → · Contrast checker → · Palette generator →

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