#6D1275#6D1275

#6D1275 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.167 H 324.4°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#6D1275
RGBrgb(109, 18, 117)
HSLhsl(295, 73%, 26%)
HSVhsv(295, 85%, 46%)
CMYKcmyk(6.8%, 84.6%, 0%, 54.1%)
CIE-LABlab(26.65, 50.11, -34.74)
CIE-LCHlch(26.65, 60.97, 325.27°)
OKLaboklab(38.98% 0.1353 -0.097)
OKLCHoklch(38.98% 0.167 324.4)
XYZxyz(9.7336, 4.9688, 17.2726)
Luminance0.0497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1275 #1A7512
analogous
#3C1275 #6D1275 #75124C
triadic
#6D1275 #756D12 #12756D
tetradic
#6D1275 #753C12 #1A7512 #124C75
square
#6D1275 #753C12 #1A7512 #124C75
split-complementary
#6D1275 #4C7512 #12753C
monochromatic
#19041B #3C0A40 #6D1275 #9E1AAA #CE24DD

Accessibility & contrast

On white

10.53
#6D1275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6D1275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1275
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1275#FFFFFF#000000##FFFFFF
##6D12751.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#284373
Tritanopia (blue-blind)
#6F2745
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6d1275;
/* rgb */ color: rgb(109, 18, 117);
/* oklch */ color: oklch(39.0% 0.167 324.4);
Tailwind
colors: {
  custom: {
    50: '#9a5e9d',
    500: '#6d1275',
    950: '#000000',
  },
}
SCSS
$custom: #6d1275;
$custom-light: #9a5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1275",
  "rgb": {
    "r": 109,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 295.152,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38983,
    "c": 0.16652,
    "h": 324.4
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#6D1275
secondary
#41AC37
accent
#F03847
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6D1275

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

Preview Lab → · Contrast checker → · Palette generator →

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