#6E309B#6E309B

#6E309B is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.169 H 307.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#6E309B
RGBrgb(110, 48, 155)
HSLhsl(275, 53%, 40%)
HSVhsv(275, 69%, 61%)
CMYKcmyk(29%, 69%, 0%, 39.2%)
CIE-LABlab(33.55, 46.65, -47.26)
CIE-LCHlch(33.55, 66.41, 314.63°)
OKLaboklab(44.77% 0.1026 -0.1339)
OKLCHoklch(44.77% 0.169 307.5)
XYZxyz(13.4025, 7.7956, 31.8026)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E309B #5D9B30
analogous
#38309B #6E309B #9B3093
triadic
#6E309B #9B6E30 #309B6E
tetradic
#6E309B #9B3830 #5D9B30 #30939B
square
#6E309B #9B3830 #5D9B30 #30939B
split-complementary
#6E309B #939B30 #309B38
monochromatic
#2C133E #4D226C #6E309B #8E43C5 #AA72D3

Accessibility & contrast

On white

8.21
#6E309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6E309B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E309B
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E309B#FFFFFF#000000##FFFFFF
##6E309B1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#164F99
Tritanopia (blue-blind)
#674761
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e309b;
/* rgb */ color: rgb(110, 48, 155);
/* oklch */ color: oklch(44.8% 0.169 307.5);
Tailwind
colors: {
  custom: {
    50: '#9c6db9',
    500: '#6e309b',
    950: '#000000',
  },
}
SCSS
$custom: #6e309b;
$custom-light: #9c6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e309b",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 274.766,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44769,
    "c": 0.16869,
    "h": 307.5
  },
  "luminance": 0.07795
}

Semantic roles & 50–950 ramp

primary
#6E309B
secondary
#8DBB6C
accent
#DC4C88
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6E309B

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

Preview Lab → · Contrast checker → · Palette generator →

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