#6E308D#6E308D

#6E308D is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.8% C 0.154 H 312.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#6E308D
RGBrgb(110, 48, 141)
HSLhsl(280, 49%, 37%)
HSVhsv(280, 66%, 55%)
CMYKcmyk(22%, 66%, 0%, 44.7%)
CIE-LABlab(32.60, 43.40, -40.24)
CIE-LCHlch(32.60, 59.18, 317.17°)
OKLaboklab(43.78% 0.1037 -0.1133)
OKLCHoklch(43.78% 0.154 312.5)
XYZxyz(12.2942, 7.3523, 25.9656)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E308D #4F8D30
analogous
#40308D #6E308D #8D307E
triadic
#6E308D #8D6E30 #308D6E
tetradic
#6E308D #8D4030 #4F8D30 #307E8D
square
#6E308D #8D4030 #4F8D30 #307E8D
split-complementary
#6E308D #7E8D30 #308D40
monochromatic
#271132 #4A205F #6E308D #9240BB #AC6BCD

Accessibility & contrast

On white

8.50
#6E308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6E308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E308D
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E308D#FFFFFF#000000##FFFFFF
##6E308D1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014990
Deuteranopia (green-blind)
#294E8B
Tritanopia (blue-blind)
#6B425A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e308d;
/* rgb */ color: rgb(110, 48, 141);
/* oklch */ color: oklch(43.8% 0.154 312.5);
Tailwind
colors: {
  custom: {
    50: '#9b6daf',
    500: '#6e308d',
    950: '#000000',
  },
}
SCSS
$custom: #6e308d;
$custom-light: #9b6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e308d",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 280,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43775,
    "c": 0.1536,
    "h": 312.5
  },
  "luminance": 0.07352
}

Semantic roles & 50–950 ramp

primary
#6E308D
secondary
#7FB465
accent
#D94F7D
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6E308D

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

Preview Lab → · Contrast checker → · Palette generator →

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