#6E308F#6E308F

#6E308F is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.156 H 311.7°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#6E308F
RGBrgb(110, 48, 143)
HSLhsl(279, 50%, 37%)
HSVhsv(279, 66%, 56%)
CMYKcmyk(23.1%, 66.4%, 0%, 43.9%)
CIE-LABlab(32.73, 43.86, -41.26)
CIE-LCHlch(32.73, 60.21, 316.75°)
OKLaboklab(43.91% 0.1036 -0.1163)
OKLCHoklch(43.91% 0.156 311.7)
XYZxyz(12.4444, 7.4124, 26.7565)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E308F #518F30
analogous
#3F308F #6E308F #8F3080
triadic
#6E308F #8F6E30 #308F6E
tetradic
#6E308F #8F3F30 #518F30 #30808F
square
#6E308F #8F3F30 #518F30 #30808F
split-complementary
#6E308F #808F30 #308F3F
monochromatic
#281133 #4B2161 #6E308F #913FBD #AC6CCE

Accessibility & contrast

On white

8.46
#6E308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6E308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E308F
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E308F#FFFFFF#000000##FFFFFF
##6E308F1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#274E8D
Tritanopia (blue-blind)
#6A435B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e308f;
/* rgb */ color: rgb(110, 48, 143);
/* oklch */ color: oklch(43.9% 0.156 311.7);
Tailwind
colors: {
  custom: {
    50: '#9b6db0',
    500: '#6e308f',
    950: '#000000',
  },
}
SCSS
$custom: #6e308f;
$custom-light: #9b6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e308f",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 279.158,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43912,
    "c": 0.15575,
    "h": 311.7
  },
  "luminance": 0.07412
}

Semantic roles & 50–950 ramp

primary
#6E308F
secondary
#81B566
accent
#D94F7F
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6E308F

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

Preview Lab → · Contrast checker → · Palette generator →

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