#6D2CA0#6D2CA0

#6D2CA0 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.179 H 305.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6D2CA0
RGBrgb(109, 44, 160)
HSLhsl(274, 57%, 40%)
HSVhsv(274, 73%, 63%)
CMYKcmyk(31.9%, 72.5%, 0%, 37.3%)
CIE-LABlab(33.12, 49.50, -51.01)
CIE-LCHlch(33.12, 71.08, 314.14°)
OKLaboklab(44.54% 0.1048 -0.1449)
OKLCHoklch(44.54% 0.179 305.9)
XYZxyz(13.5511, 7.5908, 34.0022)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2CA0 #5FA02C
analogous
#332CA0 #6D2CA0 #A02C99
triadic
#6D2CA0 #A06D2C #2CA06D
tetradic
#6D2CA0 #A0332C #5FA02C #2C99A0
square
#6D2CA0 #A0332C #5FA02C #2C99A0
split-complementary
#6D2CA0 #99A02C #2CA033
monochromatic
#2C1240 #4C1F70 #6D2CA0 #8D3FCA #AA6FD7

Accessibility & contrast

On white

8.34
#6D2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6D2CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2CA0
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2CA0#FFFFFF#000000##FFFFFF
##6D2CA01.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#644763
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d2ca0;
/* rgb */ color: rgb(109, 44, 160);
/* oklch */ color: oklch(44.5% 0.179 305.9);
Tailwind
colors: {
  custom: {
    50: '#9b6bbd',
    500: '#6d2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ca0;
$custom-light: #9b6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ca0",
  "rgb": {
    "r": 109,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 273.621,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.44543,
    "c": 0.17885,
    "h": 305.9
  },
  "luminance": 0.07591
}

Semantic roles & 50–950 ramp

primary
#6D2CA0
secondary
#8FBF69
accent
#E0488B
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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