#6E308B#6E308B

#6E308B is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.151 H 313.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#6E308B
RGBrgb(110, 48, 139)
HSLhsl(281, 49%, 37%)
HSVhsv(281, 65%, 55%)
CMYKcmyk(20.9%, 65.5%, 0%, 45.5%)
CIE-LABlab(32.47, 42.95, -39.21)
CIE-LCHlch(32.47, 58.16, 317.60°)
OKLaboklab(43.64% 0.1038 -0.1103)
OKLCHoklch(43.64% 0.151 313.3)
XYZxyz(12.1468, 7.2933, 25.1890)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E308B #4D8B30
analogous
#41308B #6E308B #8B307B
triadic
#6E308B #8B6E30 #308B6E
tetradic
#6E308B #8B4130 #4D8B30 #307B8B
square
#6E308B #8B4130 #4D8B30 #307B8B
split-complementary
#6E308B #7B8B30 #308B41
monochromatic
#261130 #4A205E #6E308B #9240B8 #AC6ACC

Accessibility & contrast

On white

8.54
#6E308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6E308B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E308B
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E308B#FFFFFF#000000##FFFFFF
##6E308B1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06498E
Deuteranopia (green-blind)
#2B4E89
Tritanopia (blue-blind)
#6B4159
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e308b;
/* rgb */ color: rgb(110, 48, 139);
/* oklch */ color: oklch(43.6% 0.151 313.3);
Tailwind
colors: {
  custom: {
    50: '#9a6dad',
    500: '#6e308b',
    950: '#000000',
  },
}
SCSS
$custom: #6e308b;
$custom-light: #9a6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#6e308b",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 280.879,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43639,
    "c": 0.15145,
    "h": 313.3
  },
  "luminance": 0.07293
}

Semantic roles & 50–950 ramp

primary
#6E308B
secondary
#7DB364
accent
#D8507B
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6E308B

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

Preview Lab → · Contrast checker → · Palette generator →

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