#6C2BAF#6C2BAF

#6C2BAF is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.196 H 301.2°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#6C2BAF
RGBrgb(108, 43, 175)
HSLhsl(270, 61%, 43%)
HSVhsv(270, 75%, 69%)
CMYKcmyk(38.3%, 75.4%, 0%, 31.4%)
CIE-LABlab(34.01, 53.36, -58.58)
CIE-LCHlch(34.01, 79.24, 312.33°)
OKLaboklab(45.51% 0.1013 -0.1672)
OKLCHoklch(45.51% 0.196 301.2)
XYZxyz(14.7842, 8.0110, 41.3165)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2BAF #6EAF2B
analogous
#2B2CAF #6C2BAF #AE2BAF
triadic
#6C2BAF #AF6C2B #2BAF6C
tetradic
#6C2BAF #AF2B2C #6EAF2B #2BAFAE
square
#6C2BAF #AF2B2C #6EAF2B #2BAFAE
split-complementary
#6C2BAF #AFAE2B #2CAF2B
monochromatic
#2F134D #4E1F7E #6C2BAF #8B46D1 #A977DE

Accessibility & contrast

On white

8.07
#6C2BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6C2BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2BAF
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2BAF#FFFFFF#000000##FFFFFF
##6C2BAF1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#5D4D6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6c2baf;
/* rgb */ color: rgb(108, 43, 175);
/* oklch */ color: oklch(45.5% 0.196 301.2);
Tailwind
colors: {
  custom: {
    50: '#9c6bc8',
    500: '#6c2baf',
    950: '#000000',
  },
}
SCSS
$custom: #6c2baf;
$custom-light: #9c6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2baf",
  "rgb": {
    "r": 108,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 269.545,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45512,
    "c": 0.1955,
    "h": 301.2
  },
  "luminance": 0.08011
}

Semantic roles & 50–950 ramp

primary
#6C2BAF
secondary
#9CC570
accent
#E44495
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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