#6E309D#6E309D

#6E309D is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.9% C 0.171 H 306.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#6E309D
RGBrgb(110, 48, 157)
HSLhsl(274, 53%, 40%)
HSVhsv(274, 69%, 62%)
CMYKcmyk(29.9%, 69.4%, 0%, 38.4%)
CIE-LABlab(33.70, 47.13, -48.24)
CIE-LCHlch(33.70, 67.44, 314.33°)
OKLaboklab(44.92% 0.1024 -0.1368)
OKLCHoklch(44.92% 0.171 306.8)
XYZxyz(13.5719, 7.8634, 32.6946)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E309D #5F9D30
analogous
#37309D #6E309D #9D3096
triadic
#6E309D #9D6E30 #309D6E
tetradic
#6E309D #9D3730 #5F9D30 #30969D
square
#6E309D #9D3730 #5F9D30 #30969D
split-complementary
#6E309D #969D30 #309D37
monochromatic
#2C133F #4D226E #6E309D #8E44C6 #AA73D4

Accessibility & contrast

On white

8.16
#6E309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6E309D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E309D
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E309D#FFFFFF#000000##FFFFFF
##6E309D1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#12509B
Tritanopia (blue-blind)
#664863
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e309d;
/* rgb */ color: rgb(110, 48, 157);
/* oklch */ color: oklch(44.9% 0.171 306.8);
Tailwind
colors: {
  custom: {
    50: '#9c6dbb',
    500: '#6e309d',
    950: '#000000',
  },
}
SCSS
$custom: #6e309d;
$custom-light: #9c6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e309d",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 274.128,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44917,
    "c": 0.17085,
    "h": 306.8
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#6E309D
secondary
#8FBC6D
accent
#DD4B8A
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6E309D

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

Preview Lab → · Contrast checker → · Palette generator →

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