#6B2583#6B2583

#6B2583 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.3% C 0.157 H 316.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#6B2583
RGBrgb(107, 37, 131)
HSLhsl(285, 56%, 33%)
HSVhsv(285, 72%, 51%)
CMYKcmyk(18.3%, 71.8%, 0%, 48.6%)
CIE-LABlab(29.63, 45.64, -38.81)
CIE-LCHlch(29.63, 59.91, 319.62°)
OKLaboklab(41.34% 0.1134 -0.1091)
OKLCHoklch(41.34% 0.157 316.1)
XYZxyz(10.8211, 6.0880, 22.0734)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2583 #3D8325
analogous
#3C2583 #6B2583 #83256C
triadic
#6B2583 #836B25 #25836B
tetradic
#6B2583 #833C25 #3D8325 #256C83
square
#6B2583 #833C25 #3D8325 #256C83
split-complementary
#6B2583 #6C8325 #25833C
monochromatic
#1D0A24 #441853 #6B2583 #9232B3 #AF54CF

Accessibility & contrast

On white

9.47
#6B2583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6B2583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2583
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2583#FFFFFF#000000##FFFFFF
##6B25831.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#254881
Tritanopia (blue-blind)
#693851
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b2583;
/* rgb */ color: rgb(107, 37, 131);
/* oklch */ color: oklch(41.3% 0.157 316.1);
Tailwind
colors: {
  custom: {
    50: '#9966a8',
    500: '#6b2583',
    950: '#000000',
  },
}
SCSS
$custom: #6b2583;
$custom-light: #9966a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2583",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 284.681,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41342,
    "c": 0.15739,
    "h": 316.1
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#6B2583
secondary
#6AB351
accent
#DF496F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B2583

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

Preview Lab → · Contrast checker → · Palette generator →

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