#6B307E#6B307E

#6B307E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.4% C 0.136 H 317.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#6B307E
RGBrgb(107, 48, 126)
HSLhsl(285, 45%, 34%)
HSVhsv(285, 62%, 49%)
CMYKcmyk(15.1%, 61.9%, 0%, 50.6%)
CIE-LABlab(31.22, 39.27, -33.14)
CIE-LCHlch(31.22, 51.39, 319.84°)
OKLaboklab(42.39% 0.0998 -0.0926)
OKLCHoklch(42.39% 0.136 317.1)
XYZxyz(10.8857, 6.7465, 20.4634)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B307E #437E30
analogous
#44307E #6B307E #7E306A
triadic
#6B307E #7E6B30 #307E6B
tetradic
#6B307E #7E4430 #437E30 #306A7E
square
#6B307E #7E4430 #437E30 #306A7E
split-complementary
#6B307E #6A7E30 #307E44
monochromatic
#200E25 #451F52 #6B307E #9141AA #AD64C4

Accessibility & contrast

On white

8.94
#6B307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6B307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B307E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B307E#FFFFFF#000000##FFFFFF
##6B307E1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4680
Deuteranopia (green-blind)
#324B7C
Tritanopia (blue-blind)
#6A3D52
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b307e;
/* rgb */ color: rgb(107, 48, 126);
/* oklch */ color: oklch(42.4% 0.136 317.1);
Tailwind
colors: {
  custom: {
    50: '#986ca4',
    500: '#6b307e',
    950: '#000000',
  },
}
SCSS
$custom: #6b307e;
$custom-light: #986ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b307e",
  "rgb": {
    "r": 107,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 285.385,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42386,
    "c": 0.13618,
    "h": 317.1
  },
  "luminance": 0.06746
}

Semantic roles & 50–950 ramp

primary
#6B307E
secondary
#71AB5F
accent
#D55373
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6B307E

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

Preview Lab → · Contrast checker → · Palette generator →

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