#6E309F#6E309F

#6E309F is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.173 H 306.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#6E309F
RGBrgb(110, 48, 159)
HSLhsl(274, 54%, 41%)
HSVhsv(274, 70%, 62%)
CMYKcmyk(30.8%, 69.8%, 0%, 37.6%)
CIE-LABlab(33.84, 47.61, -49.22)
CIE-LCHlch(33.84, 68.48, 314.04°)
OKLaboklab(45.07% 0.1021 -0.1397)
OKLCHoklch(45.07% 0.173 306.2)
XYZxyz(13.7440, 7.9322, 33.6012)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E309F #619F30
analogous
#37309F #6E309F #9F3098
triadic
#6E309F #9F6E30 #309F6E
tetradic
#6E309F #9F3730 #619F30 #30989F
square
#6E309F #9F3730 #619F30 #30989F
split-complementary
#6E309F #989F30 #309F37
monochromatic
#2D1441 #4D2270 #6E309F #8E45C7 #AA74D5

Accessibility & contrast

On white

8.12
#6E309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6E309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E309F
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E309F#FFFFFF#000000##FFFFFF
##6E309F1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#0C509D
Tritanopia (blue-blind)
#664964
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e309f;
/* rgb */ color: rgb(110, 48, 159);
/* oklch */ color: oklch(45.1% 0.173 306.2);
Tailwind
colors: {
  custom: {
    50: '#9c6dbc',
    500: '#6e309f',
    950: '#000000',
  },
}
SCSS
$custom: #6e309f;
$custom-light: #9c6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#6e309f",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 273.514,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45066,
    "c": 0.17301,
    "h": 306.2
  },
  "luminance": 0.07932
}

Semantic roles & 50–950 ramp

primary
#6E309F
secondary
#91BD6E
accent
#DD4B8B
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6E309F

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

Preview Lab → · Contrast checker → · Palette generator →

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