#6B2E9A#6B2E9A

#6B2E9A is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.169 H 306.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#6B2E9A
RGBrgb(107, 46, 154)
HSLhsl(274, 54%, 39%)
HSVhsv(274, 70%, 60%)
CMYKcmyk(30.5%, 70.1%, 0%, 39.6%)
CIE-LABlab(32.73, 46.73, -48.01)
CIE-LCHlch(32.73, 66.99, 314.23°)
OKLaboklab(44.07% 0.1008 -0.1362)
OKLCHoklch(44.07% 0.169 306.5)
XYZxyz(12.8719, 7.4130, 31.3183)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2E9A #5D9A2E
analogous
#352E9A #6B2E9A #9A2E93
triadic
#6B2E9A #9A6B2E #2E9A6B
tetradic
#6B2E9A #9A352E #5D9A2E #2E939A
square
#6B2E9A #9A352E #5D9A2E #2E939A
split-complementary
#6B2E9A #939A2E #2E9A35
monochromatic
#2A123C #4A206B #6B2E9A #8B3FC6 #A86FD4

Accessibility & contrast

On white

8.46
#6B2E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6B2E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2E9A
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2E9A#FFFFFF#000000##FFFFFF
##6B2E9A1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#0D4D98
Tritanopia (blue-blind)
#634660
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b2e9a;
/* rgb */ color: rgb(107, 46, 154);
/* oklch */ color: oklch(44.1% 0.169 306.5);
Tailwind
colors: {
  custom: {
    50: '#9a6cb8',
    500: '#6b2e9a',
    950: '#000000',
  },
}
SCSS
$custom: #6b2e9a;
$custom-light: #9a6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2e9a",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 273.889,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44069,
    "c": 0.16942,
    "h": 306.5
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#6B2E9A
secondary
#8DBB69
accent
#DD4A8A
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6B2E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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