#6B1A63#6B1A63

#6B1A63 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.1% C 0.142 H 332.3°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#6B1A63
RGBrgb(107, 26, 99)
HSLhsl(306, 61%, 26%)
HSVhsv(306, 76%, 42%)
CMYKcmyk(0%, 75.7%, 7.5%, 58%)
CIE-LABlab(26.06, 43.92, -24.07)
CIE-LCHlch(26.06, 50.09, 331.27°)
OKLaboklab(38.14% 0.1262 -0.0661)
OKLCHoklch(38.14% 0.142 332.3)
XYZxyz(8.6850, 4.7662, 12.2645)
Luminance0.0476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1A63 #1A6B22
analogous
#4A1A6B #6B1A63 #6B1A3A
triadic
#6B1A63 #636B1A #1A636B
tetradic
#6B1A63 #6B4A1A #1A6B22 #1A3A6B
square
#6B1A63 #6B4A1A #1A6B22 #1A3A6B
split-complementary
#6B1A63 #3A6B1A #1A6B4A
monochromatic
#190617 #3A0E35 #6B1A63 #9C2691 #CD32BE

Accessibility & contrast

On white

10.75
#6B1A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6B1A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1A63
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1A63#FFFFFF#000000##FFFFFF
##6B1A631.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153665
Deuteranopia (green-blind)
#344261
Tritanopia (blue-blind)
#70233C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b1a63;
/* rgb */ color: rgb(107, 26, 99);
/* oklch */ color: oklch(38.1% 0.142 332.3);
Tailwind
colors: {
  custom: {
    50: '#98608f',
    500: '#6b1a63',
    950: '#000000',
  },
}
SCSS
$custom: #6b1a63;
$custom-light: #98608f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1a63",
  "rgb": {
    "r": 107,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 305.926,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38136,
    "c": 0.14248,
    "h": 332.3
  },
  "luminance": 0.04765
}

Semantic roles & 50–950 ramp

primary
#6B1A63
secondary
#40A04A
accent
#E45444
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6B1A63

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

Preview Lab → · Contrast checker → · Palette generator →

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