#6B145F#6B145F

#6B145F is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.4% C 0.146 H 334.5°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#6B145F
RGBrgb(107, 20, 95)
HSLhsl(308, 69%, 25%)
HSVhsv(308, 81%, 42%)
CMYKcmyk(0%, 81.3%, 11.2%, 58%)
CIE-LABlab(25.12, 45.31, -22.94)
CIE-LCHlch(25.12, 50.78, 333.15°)
OKLaboklab(37.39% 0.132 -0.0628)
OKLCHoklch(37.39% 0.146 334.5)
XYZxyz(8.3792, 4.4531, 11.2425)
Luminance0.0445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B145F #146B20
analogous
#4C146B #6B145F #6B1433
triadic
#6B145F #5F6B14 #145F6B
tetradic
#6B145F #6B4C14 #146B20 #14336B
square
#6B145F #6B4C14 #146B20 #14336B
split-complementary
#6B145F #336B14 #146B4C
monochromatic
#1A0517 #370A31 #6B145F #9F1E8D #D227BB

Accessibility & contrast

On white

11.11
#6B145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#6B145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B145F
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B145F#FFFFFF#000000##FFFFFF
##6B145F1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133361
Deuteranopia (green-blind)
#34405D
Tritanopia (blue-blind)
#711C39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6b145f;
/* rgb */ color: rgb(107, 20, 95);
/* oklch */ color: oklch(37.4% 0.146 334.5);
Tailwind
colors: {
  custom: {
    50: '#995d8c',
    500: '#6b145f',
    950: '#000000',
  },
}
SCSS
$custom: #6b145f;
$custom-light: #995d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b145f",
  "rgb": {
    "r": 107,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 308.276,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37387,
    "c": 0.14615,
    "h": 334.5
  },
  "luminance": 0.04452
}

Semantic roles & 50–950 ramp

primary
#6B145F
secondary
#39A247
accent
#EB553C
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6B145F

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

Preview Lab → · Contrast checker → · Palette generator →

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