#6B2E92#6B2E92

#6B2E92 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.161 H 309.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#6B2E92
RGBrgb(107, 46, 146)
HSLhsl(277, 52%, 38%)
HSVhsv(277, 68%, 57%)
CMYKcmyk(26.7%, 68.5%, 0%, 42.7%)
CIE-LABlab(32.16, 44.83, -44.04)
CIE-LCHlch(32.16, 62.84, 315.51°)
OKLaboklab(43.48% 0.1017 -0.1245)
OKLCHoklch(43.48% 0.161 309.2)
XYZxyz(12.2277, 7.1553, 27.9255)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2E92 #55922E
analogous
#392E92 #6B2E92 #922E87
triadic
#6B2E92 #926B2E #2E926B
tetradic
#6B2E92 #92392E #55922E #2E8792
square
#6B2E92 #92392E #55922E #2E8792
split-complementary
#6B2E92 #87922E #2E9239
monochromatic
#271135 #491F63 #6B2E92 #8D3DC1 #A86AD0

Accessibility & contrast

On white

8.64
#6B2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6B2E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2E92
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2E92#FFFFFF#000000##FFFFFF
##6B2E921.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#1D4C90
Tritanopia (blue-blind)
#65435C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b2e92;
/* rgb */ color: rgb(107, 46, 146);
/* oklch */ color: oklch(43.5% 0.161 309.2);
Tailwind
colors: {
  custom: {
    50: '#996bb3',
    500: '#6b2e92',
    950: '#000000',
  },
}
SCSS
$custom: #6b2e92;
$custom-light: #996bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2e92",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 276.6,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43479,
    "c": 0.16078,
    "h": 309.2
  },
  "luminance": 0.07155
}

Semantic roles & 50–950 ramp

primary
#6B2E92
secondary
#85B765
accent
#DC4C84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6B2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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