#6F27A8#6F27A8

#6F27A8 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.193 H 305.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6F27A8
RGBrgb(111, 39, 168)
HSLhsl(273, 62%, 41%)
HSVhsv(273, 77%, 66%)
CMYKcmyk(33.9%, 76.8%, 0%, 34.1%)
CIE-LABlab(33.26, 53.90, -55.58)
CIE-LCHlch(33.26, 77.42, 314.12°)
OKLaboklab(44.9% 0.1109 -0.1583)
OKLCHoklch(44.9% 0.193 305)
XYZxyz(14.3473, 7.6578, 37.7604)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F27A8 #60A827
analogous
#2E27A8 #6F27A8 #A827A1
triadic
#6F27A8 #A86F27 #27A86F
tetradic
#6F27A8 #A82E27 #60A827 #27A1A8
square
#6F27A8 #A82E27 #60A827 #27A1A8
split-complementary
#6F27A8 #A1A827 #27A82E
monochromatic
#2D1045 #4E1B76 #6F27A8 #8F3BD1 #AB6CDD

Accessibility & contrast

On white

8.30
#6F27A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6F27A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F27A8
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F27A8#FFFFFF#000000##FFFFFF
##6F27A81.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#644866
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f27a8;
/* rgb */ color: rgb(111, 39, 168);
/* oklch */ color: oklch(44.9% 0.193 305.0);
Tailwind
colors: {
  custom: {
    50: '#9e69c3',
    500: '#6f27a8',
    950: '#000000',
  },
}
SCSS
$custom: #6f27a8;
$custom-light: #9e69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f27a8",
  "rgb": {
    "r": 111,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 273.488,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44899,
    "c": 0.19323,
    "h": 305
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

primary
#6F27A8
secondary
#90C367
accent
#E5428A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F27A8

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

Preview Lab → · Contrast checker → · Palette generator →

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