#6B2592#6B2592

#6B2592 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.172 H 310.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#6B2592
RGBrgb(107, 37, 146)
HSLhsl(279, 60%, 36%)
HSVhsv(279, 75%, 57%)
CMYKcmyk(26.7%, 74.7%, 0%, 42.7%)
CIE-LABlab(30.70, 48.93, -46.40)
CIE-LCHlch(30.70, 67.43, 316.52°)
OKLaboklab(42.44% 0.1115 -0.1314)
OKLCHoklch(42.44% 0.172 310.3)
XYZxyz(11.9123, 6.5245, 27.8204)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2592 #4C9225
analogous
#342592 #6B2592 #922582
triadic
#6B2592 #926B25 #25926B
tetradic
#6B2592 #923425 #4C9225 #258292
square
#6B2592 #923425 #4C9225 #258292
split-complementary
#6B2592 #829225 #259234
monochromatic
#230C30 #471961 #6B2592 #8F31C3 #AA5CD6

Accessibility & contrast

On white

9.11
#6B2592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6B2592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2592
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2592#FFFFFF#000000##FFFFFF
##6B25921.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#0E4990
Tritanopia (blue-blind)
#663E59
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b2592;
/* rgb */ color: rgb(107, 37, 146);
/* oklch */ color: oklch(42.4% 0.172 310.3);
Tailwind
colors: {
  custom: {
    50: '#9967b3',
    500: '#6b2592',
    950: '#000000',
  },
}
SCSS
$custom: #6b2592;
$custom-light: #9967b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2592",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 278.532,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42438,
    "c": 0.17234,
    "h": 310.3
  },
  "luminance": 0.06524
}

Semantic roles & 50–950 ramp

primary
#6B2592
secondary
#7BBA58
accent
#E3457D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2592

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

Preview Lab → · Contrast checker → · Palette generator →

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