#6B1490#6B1490

#6B1490 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.8% C 0.187 H 312.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#6B1490
RGBrgb(107, 20, 144)
HSLhsl(282, 76%, 32%)
HSVhsv(282, 86%, 56%)
CMYKcmyk(25.7%, 86.1%, 0%, 43.5%)
CIE-LABlab(28.49, 54.45, -48.75)
CIE-LCHlch(28.49, 73.08, 318.16°)
OKLaboklab(40.84% 0.1262 -0.1382)
OKLCHoklch(40.84% 0.187 312.4)
XYZxyz(11.3467, 5.6401, 26.8711)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1490 #399014
analogous
#2D1490 #6B1490 #901477
triadic
#6B1490 #906B14 #14906B
tetradic
#6B1490 #902D14 #399014 #147790
square
#6B1490 #902D14 #399014 #147790
split-complementary
#6B1490 #779014 #14902D
monochromatic
#1B0525 #430D5A #6B1490 #931BC6 #B13BE4

Accessibility & contrast

On white

9.87
#6B1490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6B1490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1490
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1490#FFFFFF#000000##FFFFFF
##6B14901.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#663555
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b1490;
/* rgb */ color: rgb(107, 20, 144);
/* oklch */ color: oklch(40.8% 0.187 312.4);
Tailwind
colors: {
  custom: {
    50: '#9a60b1',
    500: '#6b1490',
    950: '#000000',
  },
}
SCSS
$custom: #6b1490;
$custom-light: #9a60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1490",
  "rgb": {
    "r": 107,
    "g": 20,
    "b": 144
  },
  "hsl": {
    "h": 282.097,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40836,
    "c": 0.18716,
    "h": 312.4
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#6B1490
secondary
#65C33D
accent
#F2366E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0511
muted
#7E7A80

Preview Lab

Preview with #6B1490

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

Preview Lab → · Contrast checker → · Palette generator →

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