#6B306F#6B306F

#6B306F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.5% C 0.120 H 325.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#6B306F
RGBrgb(107, 48, 111)
HSLhsl(296, 40%, 31%)
HSVhsv(296, 57%, 44%)
CMYKcmyk(3.6%, 56.8%, 0%, 56.5%)
CIE-LABlab(30.37, 36.09, -25.02)
CIE-LCHlch(30.37, 43.91, 325.26°)
OKLaboklab(41.49% 0.0987 -0.0691)
OKLCHoklch(41.49% 0.12 325)
XYZxyz(9.9894, 6.3879, 15.7427)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B306F #346F30
analogous
#4B306F #6B306F #6F3053
triadic
#6B306F #6F6B30 #306F6B
tetradic
#6B306F #6F4B30 #346F30 #30536F
square
#6B306F #6F4B30 #346F30 #30536F
split-complementary
#6B306F #536F30 #306F4B
monochromatic
#190B1A #421E44 #6B306F #94429A #B45FBA

Accessibility & contrast

On white

9.22
#6B306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6B306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B306F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B306F#FFFFFF#000000##FFFFFF
##6B306F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284371
Deuteranopia (green-blind)
#3B4A6D
Tritanopia (blue-blind)
#6D384B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b306f;
/* rgb */ color: rgb(107, 48, 111);
/* oklch */ color: oklch(41.5% 0.120 325.0);
Tailwind
colors: {
  custom: {
    50: '#976b98',
    500: '#6b306f',
    950: '#000000',
  },
}
SCSS
$custom: #6b306f;
$custom-light: #976b98;
$custom-dark: #000000;
JSON
{
  "hex": "#6b306f",
  "rgb": {
    "r": 107,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 296.19,
    "s": 39.623,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41486,
    "c": 0.12042,
    "h": 325
  },
  "luminance": 0.06387
}

Semantic roles & 50–950 ramp

primary
#6B306F
secondary
#5FA05B
accent
#D05860
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #6B306F

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

Preview Lab → · Contrast checker → · Palette generator →

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