#6B27A5#6B27A5

#6B27A5 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.189 H 304.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#6B27A5
RGBrgb(107, 39, 165)
HSLhsl(272, 62%, 40%)
HSVhsv(272, 76%, 65%)
CMYKcmyk(35.2%, 76.4%, 0%, 35.3%)
CIE-LABlab(32.47, 52.48, -55.10)
CIE-LCHlch(32.47, 76.09, 313.61°)
OKLaboklab(44.15% 0.1058 -0.157)
OKLCHoklch(44.15% 0.189 304)
XYZxyz(13.5789, 7.2935, 36.2824)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B27A5 #61A527
analogous
#2C27A5 #6B27A5 #A527A0
triadic
#6B27A5 #A56B27 #27A56B
tetradic
#6B27A5 #A52C27 #61A527 #27A0A5
square
#6B27A5 #A52C27 #61A527 #27A0A5
split-complementary
#6B27A5 #A0A527 #27A52C
monochromatic
#2B1042 #4B1B74 #6B27A5 #8B39D0 #A86ADC

Accessibility & contrast

On white

8.54
#6B27A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6B27A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B27A5
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B27A5#FFFFFF#000000##FFFFFF
##6B27A51.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#604765
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b27a5;
/* rgb */ color: rgb(107, 39, 165);
/* oklch */ color: oklch(44.1% 0.189 304.0);
Tailwind
colors: {
  custom: {
    50: '#9b69c1',
    500: '#6b27a5',
    950: '#000000',
  },
}
SCSS
$custom: #6b27a5;
$custom-light: #9b69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b27a5",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 272.381,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.44148,
    "c": 0.18932,
    "h": 304
  },
  "luminance": 0.07293
}

Semantic roles & 50–950 ramp

primary
#6B27A5
secondary
#90C266
accent
#E5438D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B27A5

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

Preview Lab → · Contrast checker → · Palette generator →

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