#6F27A2#6F27A2

#6F27A2 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.187 H 306.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#6F27A2
RGBrgb(111, 39, 162)
HSLhsl(275, 61%, 39%)
HSVhsv(275, 76%, 64%)
CMYKcmyk(31.5%, 75.9%, 0%, 36.5%)
CIE-LABlab(32.79, 52.51, -52.74)
CIE-LCHlch(32.79, 74.42, 314.88°)
OKLaboklab(44.42% 0.1122 -0.1499)
OKLCHoklch(44.42% 0.187 306.8)
XYZxyz(13.8012, 7.4393, 34.8843)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F27A2 #5AA227
analogous
#3227A2 #6F27A2 #A22798
triadic
#6F27A2 #A26F27 #27A26F
tetradic
#6F27A2 #A23227 #5AA227 #2798A2
square
#6F27A2 #A23227 #5AA227 #2798A2
split-complementary
#6F27A2 #98A227 #27A232
monochromatic
#2B0F3F #4D1B71 #6F27A2 #9037CF #AB69DB

Accessibility & contrast

On white

8.44
#6F27A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6F27A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F27A2
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F27A2#FFFFFF#000000##FFFFFF
##6F27A21.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#664563
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f27a2;
/* rgb */ color: rgb(111, 39, 162);
/* oklch */ color: oklch(44.4% 0.187 306.8);
Tailwind
colors: {
  custom: {
    50: '#9d69be',
    500: '#6f27a2',
    950: '#000000',
  },
}
SCSS
$custom: #6f27a2;
$custom-light: #9d69be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f27a2",
  "rgb": {
    "r": 111,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 275.122,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44418,
    "c": 0.18723,
    "h": 306.8
  },
  "luminance": 0.07439
}

Semantic roles & 50–950 ramp

primary
#6F27A2
secondary
#8AC164
accent
#E44386
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F27A2

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

Preview Lab → · Contrast checker → · Palette generator →

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