#6B2E90#6B2E90

#6B2E90 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.3% C 0.159 H 310.0°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#6B2E90
RGBrgb(107, 46, 144)
HSLhsl(277, 52%, 37%)
HSVhsv(277, 68%, 56%)
CMYKcmyk(25.7%, 68.1%, 0%, 43.5%)
CIE-LABlab(32.02, 44.36, -43.03)
CIE-LCHlch(32.02, 61.81, 315.87°)
OKLaboklab(43.34% 0.1019 -0.1216)
OKLCHoklch(43.34% 0.159 310)
XYZxyz(12.0735, 7.0937, 27.1133)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2E90 #53902E
analogous
#3A2E90 #6B2E90 #902E84
triadic
#6B2E90 #906B2E #2E906B
tetradic
#6B2E90 #903A2E #53902E #2E8490
square
#6B2E90 #903A2E #53902E #2E8490
split-complementary
#6B2E90 #84902E #2E903A
monochromatic
#261033 #491F62 #6B2E90 #8D3DBE #A969CF

Accessibility & contrast

On white

8.68
#6B2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6B2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2E90
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2E90#FFFFFF#000000##FFFFFF
##6B2E901.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#1F4C8E
Tritanopia (blue-blind)
#66425B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b2e90;
/* rgb */ color: rgb(107, 46, 144);
/* oklch */ color: oklch(43.3% 0.159 310.0);
Tailwind
colors: {
  custom: {
    50: '#996bb1',
    500: '#6b2e90',
    950: '#000000',
  },
}
SCSS
$custom: #6b2e90;
$custom-light: #996bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2e90",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 277.347,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43335,
    "c": 0.15862,
    "h": 310
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#6B2E90
secondary
#83B664
accent
#DB4D82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6B2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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