#6B145E#6B145E

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

Color values

HEX#6B145E
RGBrgb(107, 20, 94)
HSLhsl(309, 69%, 25%)
HSVhsv(309, 81%, 42%)
CMYKcmyk(0%, 81.3%, 12.1%, 58%)
CIE-LABlab(25.06, 45.15, -22.37)
CIE-LCHlch(25.06, 50.38, 333.64°)
OKLaboklab(37.33% 0.1319 -0.0612)
OKLCHoklch(37.33% 0.145 335.1)
XYZxyz(8.3341, 4.4350, 11.0046)
Luminance0.0443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B145E #146B21
analogous
#4D146B #6B145E #6B1432
triadic
#6B145E #5E6B14 #145E6B
tetradic
#6B145E #6B4D14 #146B21 #14326B
square
#6B145E #6B4D14 #146B21 #14326B
split-complementary
#6B145E #326B14 #146B4D
monochromatic
#1A0517 #370A31 #6B145E #9F1E8B #D227B9

Accessibility & contrast

On white

11.13
#6B145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B145E
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B145E#FFFFFF#000000##FFFFFF
##6B145E1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143360
Deuteranopia (green-blind)
#34405C
Tritanopia (blue-blind)
#711C38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6b145e;
/* rgb */ color: rgb(107, 20, 94);
/* oklch */ color: oklch(37.3% 0.145 335.1);
Tailwind
colors: {
  custom: {
    50: '#995d8c',
    500: '#6b145e',
    950: '#000000',
  },
}
SCSS
$custom: #6b145e;
$custom-light: #995d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b145e",
  "rgb": {
    "r": 107,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 308.966,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37329,
    "c": 0.14539,
    "h": 335.1
  },
  "luminance": 0.04434
}

Semantic roles & 50–950 ramp

primary
#6B145E
secondary
#39A249
accent
#EB573C
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6B145E

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

Preview Lab → · Contrast checker → · Palette generator →

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