#6D2E7B#6D2E7B

#6D2E7B is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.2% C 0.137 H 320.0°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#6D2E7B
RGBrgb(109, 46, 123)
HSLhsl(289, 46%, 33%)
HSVhsv(289, 63%, 48%)
CMYKcmyk(11.4%, 62.6%, 0%, 51.8%)
CIE-LABlab(30.96, 40.19, -31.66)
CIE-LCHlch(30.96, 51.16, 321.77°)
OKLaboklab(42.2% 0.1051 -0.0882)
OKLCHoklch(42.2% 0.137 320)
XYZxyz(10.8584, 6.6357, 19.4439)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2E7B #3C7B2E
analogous
#462E7B #6D2E7B #7B2E62
triadic
#6D2E7B #7B6D2E #2E7B6D
tetradic
#6D2E7B #7B462E #3C7B2E #2E627B
square
#6D2E7B #7B462E #3C7B2E #2E627B
split-complementary
#6D2E7B #627B2E #2E7B46
monochromatic
#1E0D22 #461D4E #6D2E7B #943FA8 #B160C3

Accessibility & contrast

On white

9.02
#6D2E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6D2E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2E7B
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2E7B#FFFFFF#000000##FFFFFF
##6D2E7B1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C447D
Deuteranopia (green-blind)
#344B79
Tritanopia (blue-blind)
#6E3A50
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d2e7b;
/* rgb */ color: rgb(109, 46, 123);
/* oklch */ color: oklch(42.2% 0.137 320.0);
Tailwind
colors: {
  custom: {
    50: '#996ba1',
    500: '#6d2e7b',
    950: '#000000',
  },
}
SCSS
$custom: #6d2e7b;
$custom-light: #996ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2e7b",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 289.091,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.422,
    "c": 0.13718,
    "h": 320
  },
  "luminance": 0.06635
}

Semantic roles & 50–950 ramp

primary
#6D2E7B
secondary
#69AA5B
accent
#D5536A
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6D2E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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