#6F27A5#6F27A5

#6F27A5 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.7% C 0.190 H 305.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6F27A5
RGBrgb(111, 39, 165)
HSLhsl(274, 62%, 40%)
HSVhsv(274, 76%, 65%)
CMYKcmyk(32.7%, 76.4%, 0%, 35.3%)
CIE-LABlab(33.02, 53.20, -54.17)
CIE-LCHlch(33.02, 75.93, 314.49°)
OKLaboklab(44.66% 0.1115 -0.1541)
OKLCHoklch(44.66% 0.19 305.9)
XYZxyz(14.0711, 7.5473, 36.3055)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F27A5 #5DA527
analogous
#3027A5 #6F27A5 #A5279C
triadic
#6F27A5 #A56F27 #27A56F
tetradic
#6F27A5 #A53027 #5DA527 #279CA5
square
#6F27A5 #A53027 #5DA527 #279CA5
split-complementary
#6F27A5 #9CA527 #27A530
monochromatic
#2C1042 #4E1B74 #6F27A5 #8F39D0 #AB6ADC

Accessibility & contrast

On white

8.37
#6F27A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6F27A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F27A5
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F27A5#FFFFFF#000000##FFFFFF
##6F27A51.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#654665
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f27a5;
/* rgb */ color: rgb(111, 39, 165);
/* oklch */ color: oklch(44.7% 0.190 305.9);
Tailwind
colors: {
  custom: {
    50: '#9d69c1',
    500: '#6f27a5',
    950: '#000000',
  },
}
SCSS
$custom: #6f27a5;
$custom-light: #9d69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f27a5",
  "rgb": {
    "r": 111,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 274.286,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.44657,
    "c": 0.19023,
    "h": 305.9
  },
  "luminance": 0.07547
}

Semantic roles & 50–950 ramp

primary
#6F27A5
secondary
#8DC266
accent
#E54388
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F27A5

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

Preview Lab → · Contrast checker → · Palette generator →

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