#6D1864#6D1864

#6D1864 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.147 H 332.8°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#6D1864
RGBrgb(109, 24, 100)
HSLhsl(306, 64%, 26%)
HSVhsv(306, 78%, 43%)
CMYKcmyk(0%, 78%, 8.3%, 57.3%)
CIE-LABlab(26.23, 45.30, -24.43)
CIE-LCHlch(26.23, 51.47, 331.66°)
OKLaboklab(38.35% 0.1306 -0.0671)
OKLCHoklch(38.35% 0.147 332.8)
XYZxyz(8.9336, 4.8253, 12.5150)
Luminance0.0483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1864 #186D21
analogous
#4B186D #6D1864 #6D1839
triadic
#6D1864 #646D18 #18646D
tetradic
#6D1864 #6D4B18 #186D21 #18396D
square
#6D1864 #6D4B18 #186D21 #18396D
split-complementary
#6D1864 #396D18 #186D4B
monochromatic
#190617 #3B0D36 #6D1864 #9F2392 #D12EC0

Accessibility & contrast

On white

10.69
#6D1864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6D1864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1864
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1864#FFFFFF#000000##FFFFFF
##6D18641.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143666
Deuteranopia (green-blind)
#354262
Tritanopia (blue-blind)
#72213C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6d1864;
/* rgb */ color: rgb(109, 24, 100);
/* oklch */ color: oklch(38.3% 0.147 332.8);
Tailwind
colors: {
  custom: {
    50: '#9a5f90',
    500: '#6d1864',
    950: '#000000',
  },
}
SCSS
$custom: #6d1864;
$custom-light: #9a5f90;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1864",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 306.353,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38349,
    "c": 0.14681,
    "h": 332.8
  },
  "luminance": 0.04825
}

Semantic roles & 50–950 ramp

primary
#6D1864
secondary
#3EA349
accent
#E75241
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6D1864

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

Preview Lab → · Contrast checker → · Palette generator →

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