#6F309E#6F309E

#6F309E is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.172 H 307.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#6F309E
RGBrgb(111, 48, 158)
HSLhsl(274, 53%, 40%)
HSVhsv(274, 70%, 62%)
CMYKcmyk(29.7%, 69.6%, 0%, 38%)
CIE-LABlab(33.90, 47.58, -48.51)
CIE-LCHlch(33.90, 67.95, 314.45°)
OKLaboklab(45.12% 0.1036 -0.1375)
OKLCHoklch(45.12% 0.172 307)
XYZxyz(13.7827, 7.9622, 33.1519)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F309E #5F9E30
analogous
#38309E #6F309E #9E3096
triadic
#6F309E #9E6F30 #309E6F
tetradic
#6F309E #9E3830 #5F9E30 #30969E
square
#6F309E #9E3830 #5F9E30 #30969E
split-complementary
#6F309E #969E30 #309E38
monochromatic
#2D1340 #4E226F #6F309E #8F45C6 #AB74D5

Accessibility & contrast

On white

8.10
#6F309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F309E
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F309E#FFFFFF#000000##FFFFFF
##6F309E1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#12509C
Tritanopia (blue-blind)
#674863
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f309e;
/* rgb */ color: rgb(111, 48, 158);
/* oklch */ color: oklch(45.1% 0.172 307.0);
Tailwind
colors: {
  custom: {
    50: '#9c6dbb',
    500: '#6f309e',
    950: '#000000',
  },
}
SCSS
$custom: #6f309e;
$custom-light: #9c6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f309e",
  "rgb": {
    "r": 111,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 274.364,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45117,
    "c": 0.1722,
    "h": 307
  },
  "luminance": 0.07962
}

Semantic roles & 50–950 ramp

primary
#6F309E
secondary
#8FBD6D
accent
#DD4B89
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F309E

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

Preview Lab → · Contrast checker → · Palette generator →

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