#6B1380#6B1380

#6B1380 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.5% C 0.174 H 318.6°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#6B1380
RGBrgb(107, 19, 128)
HSLhsl(288, 74%, 29%)
HSVhsv(288, 85%, 50%)
CMYKcmyk(16.4%, 85.2%, 0%, 49.8%)
CIE-LABlab(27.16, 51.51, -40.91)
CIE-LCHlch(27.16, 65.78, 321.54°)
OKLaboklab(39.52% 0.1305 -0.1152)
OKLCHoklch(39.52% 0.174 318.6)
XYZxyz(10.1920, 5.1506, 20.8752)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1380 #288013
analogous
#351380 #6B1380 #80135F
triadic
#6B1380 #806B13 #13806B
tetradic
#6B1380 #803513 #288013 #135F80
square
#6B1380 #803513 #288013 #135F80
split-complementary
#6B1380 #5F8013 #138035
monochromatic
#16041B #3E0B4B #6B1380 #981BB5 #BE2DE0

Accessibility & contrast

On white

10.34
#6B1380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6B1380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1380
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1380#FFFFFF#000000##FFFFFF
##6B13801.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#1A437E
Tritanopia (blue-blind)
#6A2D4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b1380;
/* rgb */ color: rgb(107, 19, 128);
/* oklch */ color: oklch(39.5% 0.174 318.6);
Tailwind
colors: {
  custom: {
    50: '#995ea5',
    500: '#6b1380',
    950: '#000000',
  },
}
SCSS
$custom: #6b1380;
$custom-light: #995ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1380",
  "rgb": {
    "r": 107,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 288.44,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39522,
    "c": 0.17408,
    "h": 318.6
  },
  "luminance": 0.0515
}

Semantic roles & 50–950 ramp

primary
#6B1380
secondary
#51B539
accent
#F1375B
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6B1380

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

Preview Lab → · Contrast checker → · Palette generator →

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