#6B1C90#6B1C90

#6B1C90 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.180 H 311.9°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#6B1C90
RGBrgb(107, 28, 144)
HSLhsl(281, 67%, 34%)
HSVhsv(281, 81%, 56%)
CMYKcmyk(25.7%, 80.6%, 0%, 43.5%)
CIE-LABlab(29.34, 51.97, -47.37)
CIE-LCHlch(29.34, 70.31, 317.65°)
OKLaboklab(41.43% 0.1202 -0.1342)
OKLCHoklch(41.43% 0.18 311.9)
XYZxyz(11.5118, 5.9702, 26.9261)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1C90 #41901C
analogous
#311C90 #6B1C90 #901C7B
triadic
#6B1C90 #906B1C #1C906B
tetradic
#6B1C90 #90311C #41901C #1C7B90
square
#6B1C90 #90311C #41901C #1C7B90
split-complementary
#6B1C90 #7B901C #1C9031
monochromatic
#1F082A #45125D #6B1C90 #9126C3 #AE4ADC

Accessibility & contrast

On white

9.57
#6B1C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6B1C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1C90
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1C90#FFFFFF#000000##FFFFFF
##6B1C901.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#01478E
Tritanopia (blue-blind)
#663956
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b1c90;
/* rgb */ color: rgb(107, 28, 144);
/* oklch */ color: oklch(41.4% 0.180 311.9);
Tailwind
colors: {
  custom: {
    50: '#9a63b1',
    500: '#6b1c90',
    950: '#000000',
  },
}
SCSS
$custom: #6b1c90;
$custom-light: #9a63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1c90",
  "rgb": {
    "r": 107,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 280.862,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41431,
    "c": 0.18018,
    "h": 311.9
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

primary
#6B1C90
secondary
#6FBE4A
accent
#EA3D75
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B1C90

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

Preview Lab → · Contrast checker → · Palette generator →

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