#6D2BA5#6D2BA5

#6D2BA5 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.185 H 304.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#6D2BA5
RGBrgb(109, 43, 165)
HSLhsl(272, 59%, 41%)
HSVhsv(272, 74%, 65%)
CMYKcmyk(33.9%, 73.9%, 0%, 35.3%)
CIE-LABlab(33.34, 51.13, -53.66)
CIE-LCHlch(33.34, 74.12, 313.62°)
OKLaboklab(44.82% 0.1049 -0.1527)
OKLCHoklch(44.82% 0.185 304.5)
XYZxyz(13.9605, 7.6956, 36.3399)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2BA5 #63A52B
analogous
#302BA5 #6D2BA5 #A52BA0
triadic
#6D2BA5 #A56D2B #2BA56D
tetradic
#6D2BA5 #A5302B #63A52B #2BA0A5
square
#6D2BA5 #A5302B #63A52B #2BA0A5
split-complementary
#6D2BA5 #A0A52B #2BA530
monochromatic
#2D1244 #4D1E74 #6D2BA5 #8C40CD #AA71DA

Accessibility & contrast

On white

8.27
#6D2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6D2BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2BA5
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2BA5#FFFFFF#000000##FFFFFF
##6D2BA51.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#624966
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d2ba5;
/* rgb */ color: rgb(109, 43, 165);
/* oklch */ color: oklch(44.8% 0.185 304.5);
Tailwind
colors: {
  custom: {
    50: '#9c6bc1',
    500: '#6d2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ba5;
$custom-light: #9c6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ba5",
  "rgb": {
    "r": 109,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 272.459,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44823,
    "c": 0.18527,
    "h": 304.5
  },
  "luminance": 0.07696
}

Semantic roles & 50–950 ramp

primary
#6D2BA5
secondary
#92C16B
accent
#E2468E
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6D2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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