#6F27AF#6F27AF

#6F27AF is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.5% C 0.200 H 303.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#6F27AF
RGBrgb(111, 39, 175)
HSLhsl(272, 64%, 42%)
HSVhsv(272, 78%, 69%)
CMYKcmyk(36.6%, 77.7%, 0%, 31.4%)
CIE-LABlab(33.83, 55.53, -58.85)
CIE-LCHlch(33.83, 80.91, 313.34°)
OKLaboklab(45.47% 0.1092 -0.1679)
OKLCHoklch(45.47% 0.2 303)
XYZxyz(15.0171, 7.9257, 41.2878)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F27AF #67AF27
analogous
#2B27AF #6F27AF #AF27AB
triadic
#6F27AF #AF6F27 #27AF6F
tetradic
#6F27AF #AF2B27 #67AF27 #27ABAF
square
#6F27AF #AF2B27 #67AF27 #27ABAF
split-complementary
#6F27AF #ABAF27 #27AF2B
monochromatic
#30114B #4F1C7D #6F27AF #8E3FD4 #AB71DF

Accessibility & contrast

On white

8.12
#6F27AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6F27AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F27AF
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F27AF#FFFFFF#000000##FFFFFF
##6F27AF1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#624B6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f27af;
/* rgb */ color: rgb(111, 39, 175);
/* oklch */ color: oklch(45.5% 0.200 303.0);
Tailwind
colors: {
  custom: {
    50: '#9e69c8',
    500: '#6f27af',
    950: '#000000',
  },
}
SCSS
$custom: #6f27af;
$custom-light: #9e69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f27af",
  "rgb": {
    "r": 111,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 271.765,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45474,
    "c": 0.20024,
    "h": 303
  },
  "luminance": 0.07926
}

Semantic roles & 50–950 ramp

primary
#6F27AF
secondary
#96C66B
accent
#E7418F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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