#6D145F#6D145F

#6D145F is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.7% C 0.147 H 335.6°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#6D145F
RGBrgb(109, 20, 95)
HSLhsl(309, 69%, 25%)
HSVhsv(309, 82%, 43%)
CMYKcmyk(0%, 81.7%, 12.8%, 57.3%)
CIE-LABlab(25.50, 45.79, -22.31)
CIE-LCHlch(25.50, 50.94, 334.02°)
OKLaboklab(37.73% 0.1341 -0.061)
OKLCHoklch(37.73% 0.147 335.6)
XYZxyz(8.6225, 4.5785, 11.2539)
Luminance0.0458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D145F #146D22
analogous
#4E146D #6D145F #6D1433
triadic
#6D145F #5F6D14 #145F6D
tetradic
#6D145F #6D4E14 #146D22 #14336D
square
#6D145F #6D4E14 #146D22 #14336D
split-complementary
#6D145F #336D14 #146D4E
monochromatic
#1A0517 #390B32 #6D145F #A11D8C #D427B9

Accessibility & contrast

On white

10.96
#6D145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#6D145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D145F
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D145F#FFFFFF#000000##FFFFFF
##6D145F1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143461
Deuteranopia (green-blind)
#35415D
Tritanopia (blue-blind)
#731C39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6d145f;
/* rgb */ color: rgb(109, 20, 95);
/* oklch */ color: oklch(37.7% 0.147 335.6);
Tailwind
colors: {
  custom: {
    50: '#9a5d8c',
    500: '#6d145f',
    950: '#000000',
  },
}
SCSS
$custom: #6d145f;
$custom-light: #9a5d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d145f",
  "rgb": {
    "r": 109,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 309.438,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.37733,
    "c": 0.14731,
    "h": 335.6
  },
  "luminance": 0.04578
}

Semantic roles & 50–950 ramp

primary
#6D145F
secondary
#39A44A
accent
#EC583C
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6D145F

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

Preview Lab → · Contrast checker → · Palette generator →

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