#6D2BA4#6D2BA4

#6D2BA4 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.184 H 304.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6D2BA4
RGBrgb(109, 43, 164)
HSLhsl(273, 58%, 41%)
HSVhsv(273, 74%, 64%)
CMYKcmyk(33.5%, 73.8%, 0%, 35.7%)
CIE-LABlab(33.26, 50.90, -53.18)
CIE-LCHlch(33.26, 73.61, 313.74°)
OKLaboklab(44.74% 0.1051 -0.1513)
OKLCHoklch(44.74% 0.184 304.8)
XYZxyz(13.8699, 7.6594, 35.8625)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2BA4 #62A42B
analogous
#302BA4 #6D2BA4 #A42B9E
triadic
#6D2BA4 #A46D2B #2BA46D
tetradic
#6D2BA4 #A4302B #62A42B #2B9EA4
square
#6D2BA4 #A4302B #62A42B #2B9EA4
split-complementary
#6D2BA4 #9EA42B #2BA430
monochromatic
#2D1243 #4D1E74 #6D2BA4 #8D3FCD #A970D9

Accessibility & contrast

On white

8.29
#6D2BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6D2BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2BA4
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2BA4#FFFFFF#000000##FFFFFF
##6D2BA41.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#634865
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d2ba4;
/* rgb */ color: rgb(109, 43, 164);
/* oklch */ color: oklch(44.7% 0.184 304.8);
Tailwind
colors: {
  custom: {
    50: '#9c6bc0',
    500: '#6d2ba4',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ba4;
$custom-light: #9c6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ba4",
  "rgb": {
    "r": 109,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 272.727,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44744,
    "c": 0.18424,
    "h": 304.8
  },
  "luminance": 0.07659
}

Semantic roles & 50–950 ramp

primary
#6D2BA4
secondary
#91C16A
accent
#E2468D
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6D2BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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