#6B2E95#6B2E95

#6B2E95 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.164 H 308.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#6B2E95
RGBrgb(107, 46, 149)
HSLhsl(276, 53%, 38%)
HSVhsv(276, 69%, 58%)
CMYKcmyk(28.2%, 69.1%, 0%, 41.6%)
CIE-LABlab(32.37, 45.54, -45.54)
CIE-LCHlch(32.37, 64.40, 315.00°)
OKLaboklab(43.7% 0.1014 -0.1289)
OKLCHoklch(43.7% 0.164 308.2)
XYZxyz(12.4641, 7.2499, 29.1707)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2E95 #58952E
analogous
#372E95 #6B2E95 #952E8B
triadic
#6B2E95 #956B2E #2E956B
tetradic
#6B2E95 #95372E #58952E #2E8B95
square
#6B2E95 #95372E #58952E #2E8B95
split-complementary
#6B2E95 #8B952E #2E9537
monochromatic
#281137 #492066 #6B2E95 #8C3DC3 #A86CD2

Accessibility & contrast

On white

8.57
#6B2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6B2E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2E95
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2E95#FFFFFF#000000##FFFFFF
##6B2E951.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#184D93
Tritanopia (blue-blind)
#64445E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b2e95;
/* rgb */ color: rgb(107, 46, 149);
/* oklch */ color: oklch(43.7% 0.164 308.2);
Tailwind
colors: {
  custom: {
    50: '#996cb5',
    500: '#6b2e95',
    950: '#000000',
  },
}
SCSS
$custom: #6b2e95;
$custom-light: #996cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2e95",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 275.534,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43697,
    "c": 0.16403,
    "h": 308.2
  },
  "luminance": 0.0725
}

Semantic roles & 50–950 ramp

primary
#6B2E95
secondary
#88B966
accent
#DC4C87
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6B2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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