#6B307A#6B307A

#6B307A is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.1% C 0.132 H 319.1°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#6B307A
RGBrgb(107, 48, 122)
HSLhsl(288, 44%, 33%)
HSVhsv(288, 61%, 48%)
CMYKcmyk(12.3%, 60.7%, 0%, 52.2%)
CIE-LABlab(30.99, 38.40, -31.01)
CIE-LCHlch(30.99, 49.35, 321.08°)
OKLaboklab(42.14% 0.0997 -0.0864)
OKLCHoklch(42.14% 0.132 319.1)
XYZxyz(10.6328, 6.6453, 19.1312)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B307A #3F7A30
analogous
#46307A #6B307A #7A3064
triadic
#6B307A #7A6B30 #307A6B
tetradic
#6B307A #7A4630 #3F7A30 #30647A
square
#6B307A #7A4630 #3F7A30 #30647A
split-complementary
#6B307A #647A30 #307A46
monochromatic
#1E0D22 #441F4E #6B307A #9241A6 #AE63C2

Accessibility & contrast

On white

9.02
#6B307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6B307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B307A
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B307A#FFFFFF#000000##FFFFFF
##6B307A1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457C
Deuteranopia (green-blind)
#354B78
Tritanopia (blue-blind)
#6B3C50
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b307a;
/* rgb */ color: rgb(107, 48, 122);
/* oklch */ color: oklch(42.1% 0.132 319.1);
Tailwind
colors: {
  custom: {
    50: '#986ca1',
    500: '#6b307a',
    950: '#000000',
  },
}
SCSS
$custom: #6b307a;
$custom-light: #986ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b307a",
  "rgb": {
    "r": 107,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 287.838,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42136,
    "c": 0.13191,
    "h": 319.1
  },
  "luminance": 0.06645
}

Semantic roles & 50–950 ramp

primary
#6B307A
secondary
#6CA95D
accent
#D3556E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #6B307A

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

Preview Lab → · Contrast checker → · Palette generator →

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