#6F307B#6F307B

#6F307B is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.8% C 0.135 H 321.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6F307B
RGBrgb(111, 48, 123)
HSLhsl(290, 44%, 34%)
HSVhsv(290, 61%, 48%)
CMYKcmyk(9.8%, 61%, 0%, 51.8%)
CIE-LABlab(31.63, 39.72, -30.57)
CIE-LCHlch(31.63, 50.12, 322.41°)
OKLaboklab(42.75% 0.1049 -0.085)
OKLCHoklch(42.75% 0.135 321)
XYZxyz(11.1872, 6.9240, 19.4822)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F307B #3C7B30
analogous
#49307B #6F307B #7B3061
triadic
#6F307B #7B6F30 #307B6F
tetradic
#6F307B #7B4930 #3C7B30 #30617B
square
#6F307B #7B4930 #3C7B30 #30617B
split-complementary
#6F307B #617B30 #307B49
monochromatic
#200E23 #471F4F #6F307B #9741A7 #B363C2

Accessibility & contrast

On white

8.81
#6F307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6F307B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F307B
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F307B#FFFFFF#000000##FFFFFF
##6F307B1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467D
Deuteranopia (green-blind)
#374D79
Tritanopia (blue-blind)
#703B51
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f307b;
/* rgb */ color: rgb(111, 48, 123);
/* oklch */ color: oklch(42.8% 0.135 321.0);
Tailwind
colors: {
  custom: {
    50: '#9b6ca1',
    500: '#6f307b',
    950: '#000000',
  },
}
SCSS
$custom: #6f307b;
$custom-light: #9b6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f307b",
  "rgb": {
    "r": 111,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 290.4,
    "s": 43.86,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4275,
    "c": 0.13504,
    "h": 321
  },
  "luminance": 0.06923
}

Semantic roles & 50–950 ramp

primary
#6F307B
secondary
#6AA95D
accent
#D45469
background
#F9F6FA
surface
#F2ECF3
border
#CCC7CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6F307B

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

Preview Lab → · Contrast checker → · Palette generator →

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