#6B2CA8#6B2CA8

#6B2CA8 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.187 H 302.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#6B2CA8
RGBrgb(107, 44, 168)
HSLhsl(270, 58%, 42%)
HSVhsv(270, 74%, 66%)
CMYKcmyk(36.3%, 73.8%, 0%, 34.1%)
CIE-LABlab(33.47, 51.03, -55.27)
CIE-LCHlch(33.47, 75.23, 312.72°)
OKLaboklab(44.93% 0.1005 -0.1575)
OKLCHoklch(44.93% 0.187 302.5)
XYZxyz(14.0303, 7.7543, 37.7958)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2CA8 #69A82C
analogous
#2D2CA8 #6B2CA8 #A82CA7
triadic
#6B2CA8 #A86B2C #2CA86B
tetradic
#6B2CA8 #A82D2C #69A82C #2CA7A8
square
#6B2CA8 #A82D2C #69A82C #2CA7A8
split-complementary
#6B2CA8 #A7A82C #2CA82D
monochromatic
#2D1347 #4C1F78 #6B2CA8 #8A43CE #A874DB

Accessibility & contrast

On white

8.23
#6B2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6B2CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2CA8
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2CA8#FFFFFF#000000##FFFFFF
##6B2CA81.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#5E4B68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6b2ca8;
/* rgb */ color: rgb(107, 44, 168);
/* oklch */ color: oklch(44.9% 0.187 302.5);
Tailwind
colors: {
  custom: {
    50: '#9b6bc3',
    500: '#6b2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #6b2ca8;
$custom-light: #9b6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2ca8",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 270.484,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44928,
    "c": 0.18685,
    "h": 302.5
  },
  "luminance": 0.07754
}

Semantic roles & 50–950 ramp

primary
#6B2CA8
secondary
#97C26E
accent
#E24693
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6B2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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