#6B27B3#6B27B3

#6B27B3 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.3% C 0.204 H 300.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#6B27B3
RGBrgb(107, 39, 179)
HSLhsl(269, 64%, 43%)
HSVhsv(269, 78%, 70%)
CMYKcmyk(40.2%, 78.2%, 0%, 29.8%)
CIE-LABlab(33.63, 55.82, -61.58)
CIE-LCHlch(33.63, 83.12, 312.19°)
OKLaboklab(45.32% 0.1023 -0.176)
OKLCHoklch(45.32% 0.204 300.2)
XYZxyz(14.9236, 7.8314, 43.3644)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B27B3 #6FB327
analogous
#2729B3 #6B27B3 #B127B3
triadic
#6B27B3 #B36B27 #27B36B
tetradic
#6B27B3 #B32729 #6FB327 #27B3B1
square
#6B27B3 #B32729 #6FB327 #27B3B1
split-complementary
#6B27B3 #B3B127 #29B327
monochromatic
#2F114E #4D1C81 #6B27B3 #8941D6 #A974E1

Accessibility & contrast

On white

8.18
#6B27B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6B27B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B27B3
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B27B3#FFFFFF#000000##FFFFFF
##6B27B31.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#5A4D6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6b27b3;
/* rgb */ color: rgb(107, 39, 179);
/* oklch */ color: oklch(45.3% 0.204 300.2);
Tailwind
colors: {
  custom: {
    50: '#9c69cb',
    500: '#6b27b3',
    950: '#000000',
  },
}
SCSS
$custom: #6b27b3;
$custom-light: #9c69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b27b3",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 269.143,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45323,
    "c": 0.20358,
    "h": 300.2
  },
  "luminance": 0.07832
}

Semantic roles & 50–950 ramp

primary
#6B27B3
secondary
#9CC86E
accent
#E74196
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B27B3

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

Preview Lab → · Contrast checker → · Palette generator →

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