#6B145D#6B145D

#6B145D is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.3% C 0.145 H 335.7°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#6B145D
RGBrgb(107, 20, 93)
HSLhsl(310, 69%, 25%)
HSVhsv(310, 81%, 42%)
CMYKcmyk(0%, 81.3%, 13.1%, 58%)
CIE-LABlab(25.01, 44.99, -21.79)
CIE-LCHlch(25.01, 49.99, 334.15°)
OKLaboklab(37.27% 0.1318 -0.0595)
OKLCHoklch(37.27% 0.145 335.7)
XYZxyz(8.2895, 4.4172, 10.7698)
Luminance0.0442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B145D #146B22
analogous
#4D146B #6B145D #6B1432
triadic
#6B145D #5D6B14 #145D6B
tetradic
#6B145D #6B4D14 #146B22 #14326B
square
#6B145D #6B4D14 #146B22 #14326B
split-complementary
#6B145D #326B14 #146B4D
monochromatic
#1A0516 #370A30 #6B145D #9F1E8A #D227B7

Accessibility & contrast

On white

11.15
#6B145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#6B145D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B145D
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B145D#FFFFFF#000000##FFFFFF
##6B145D1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15335F
Deuteranopia (green-blind)
#35405B
Tritanopia (blue-blind)
#711B37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6b145d;
/* rgb */ color: rgb(107, 20, 93);
/* oklch */ color: oklch(37.3% 0.145 335.7);
Tailwind
colors: {
  custom: {
    50: '#995d8b',
    500: '#6b145d',
    950: '#000000',
  },
}
SCSS
$custom: #6b145d;
$custom-light: #995d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b145d",
  "rgb": {
    "r": 107,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 309.655,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37271,
    "c": 0.14464,
    "h": 335.7
  },
  "luminance": 0.04416
}

Semantic roles & 50–950 ramp

primary
#6B145D
secondary
#39A24A
accent
#EB593C
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6B145D

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

Preview Lab → · Contrast checker → · Palette generator →

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