#6B27AD#6B27AD

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

Color values

HEX#6B27AD
RGBrgb(107, 39, 173)
HSLhsl(270, 63%, 42%)
HSVhsv(270, 77%, 68%)
CMYKcmyk(38.2%, 77.5%, 0%, 32.2%)
CIE-LABlab(33.12, 54.38, -58.83)
CIE-LCHlch(33.12, 80.11, 312.75°)
OKLaboklab(44.81% 0.1039 -0.1679)
OKLCHoklch(44.81% 0.197 301.7)
XYZxyz(14.3299, 7.5939, 40.2379)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B27AD #69AD27
analogous
#2827AD #6B27AD #AD27AC
triadic
#6B27AD #AD6B27 #27AD6B
tetradic
#6B27AD #AD2827 #69AD27 #27ACAD
square
#6B27AD #AD2827 #69AD27 #27ACAD
split-complementary
#6B27AD #ACAD27 #27AD28
monochromatic
#2D1049 #4C1C7B #6B27AD #8A3ED3 #A870DF

Accessibility & contrast

On white

8.34
#6B27AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B27AD
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B27AD#FFFFFF#000000##FFFFFF
##6B27AD1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#5D4A69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6b27ad;
/* rgb */ color: rgb(107, 39, 173);
/* oklch */ color: oklch(44.8% 0.197 301.7);
Tailwind
colors: {
  custom: {
    50: '#9c69c6',
    500: '#6b27ad',
    950: '#000000',
  },
}
SCSS
$custom: #6b27ad;
$custom-light: #9c69c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b27ad",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 270.448,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44812,
    "c": 0.19747,
    "h": 301.7
  },
  "luminance": 0.07594
}

Semantic roles & 50–950 ramp

primary
#6B27AD
secondary
#97C66A
accent
#E64293
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B27AD

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

Preview Lab → · Contrast checker → · Palette generator →

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