#6C0FB2#6C0FB2

#6C0FB2 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.7% C 0.220 H 302.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#6C0FB2
RGBrgb(108, 15, 178)
HSLhsl(274, 84%, 38%)
HSVhsv(274, 92%, 70%)
CMYKcmyk(39.3%, 91.6%, 0%, 30.2%)
CIE-LABlab(31.22, 62.96, -64.93)
CIE-LCHlch(31.22, 90.44, 314.12°)
OKLaboklab(43.66% 0.1187 -0.1856)
OKLCHoklch(43.66% 0.22 302.6)
XYZxyz(14.3891, 6.7441, 42.6545)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C0FB2 #55B20F
analogous
#1A0FB2 #6C0FB2 #B20FA6
triadic
#6C0FB2 #B26C0F #0FB26C
tetradic
#6C0FB2 #B21A0F #55B20F #0FA6B2
square
#6C0FB2 #B21A0F #55B20F #0FA6B2
split-complementary
#6C0FB2 #A6B20F #0FB21A
monochromatic
#280541 #4A0A7A #6C0FB2 #8E14EA #A94CF0

Accessibility & contrast

On white

8.94
#6C0FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6C0FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C0FB2
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C0FB2#FFFFFF#000000##FFFFFF
##6C0FB21.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#0049AF
Tritanopia (blue-blind)
#5D4468
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c0fb2;
/* rgb */ color: rgb(108, 15, 178);
/* oklch */ color: oklch(43.7% 0.220 302.6);
Tailwind
colors: {
  custom: {
    50: '#9e61ca',
    500: '#6c0fb2',
    950: '#000000',
  },
}
SCSS
$custom: #6c0fb2;
$custom-light: #9e61ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c0fb2",
  "rgb": {
    "r": 108,
    "g": 15,
    "b": 178
  },
  "hsl": {
    "h": 274.233,
    "s": 84.456,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4366,
    "c": 0.22034,
    "h": 302.6
  },
  "luminance": 0.06744
}

Semantic roles & 50–950 ramp

primary
#6C0FB2
secondary
#85D14C
accent
#FB2D85
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C0FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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