#6E307C#6E307C

#6E307C is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.7% C 0.136 H 319.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6E307C
RGBrgb(110, 48, 124)
HSLhsl(289, 44%, 34%)
HSVhsv(289, 61%, 49%)
CMYKcmyk(11.3%, 61.3%, 0%, 51.4%)
CIE-LABlab(31.54, 39.66, -31.35)
CIE-LCHlch(31.54, 50.55, 321.67°)
OKLaboklab(42.67% 0.1037 -0.0873)
OKLCHoklch(42.67% 0.136 319.9)
XYZxyz(11.1250, 6.8846, 19.8077)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E307C #3E7C30
analogous
#48307C #6E307C #7C3064
triadic
#6E307C #7C6E30 #307C6E
tetradic
#6E307C #7C4830 #3E7C30 #30647C
square
#6E307C #7C4830 #3E7C30 #30647C
split-complementary
#6E307C #647C30 #307C48
monochromatic
#200E24 #471F50 #6E307C #9541A8 #B164C3

Accessibility & contrast

On white

8.84
#6E307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6E307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E307C
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E307C#FFFFFF#000000##FFFFFF
##6E307C1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467E
Deuteranopia (green-blind)
#364C7A
Tritanopia (blue-blind)
#6F3C51
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e307c;
/* rgb */ color: rgb(110, 48, 124);
/* oklch */ color: oklch(42.7% 0.136 319.9);
Tailwind
colors: {
  custom: {
    50: '#9a6ca2',
    500: '#6e307c',
    950: '#000000',
  },
}
SCSS
$custom: #6e307c;
$custom-light: #9a6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e307c",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 288.947,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42672,
    "c": 0.13555,
    "h": 319.9
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#6E307C
secondary
#6CAA5E
accent
#D4546B
background
#F9F6FA
surface
#F2ECF3
border
#CCC7CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6E307C

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

Preview Lab → · Contrast checker → · Palette generator →

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