#6F308C#6F308C

#6F308C is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.8% C 0.153 H 313.4°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#6F308C
RGBrgb(111, 48, 140)
HSLhsl(281, 49%, 37%)
HSVhsv(281, 66%, 55%)
CMYKcmyk(20.7%, 65.7%, 0%, 45.1%)
CIE-LABlab(32.67, 43.42, -39.49)
CIE-LCHlch(32.67, 58.69, 317.71°)
OKLaboklab(43.84% 0.1051 -0.1111)
OKLCHoklch(43.84% 0.153 313.4)
XYZxyz(12.3453, 7.3872, 25.5814)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F308C #4D8C30
analogous
#41308C #6F308C #8C307B
triadic
#6F308C #8C6F30 #308C6F
tetradic
#6F308C #8C4130 #4D8C30 #307B8C
square
#6F308C #8C4130 #4D8C30 #307B8C
split-complementary
#6F308C #7B8C30 #308C41
monochromatic
#271131 #4B205E #6F308C #9340BA #AD6ACC

Accessibility & contrast

On white

8.48
#6F308C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6F308C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F308C
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F308C#FFFFFF#000000##FFFFFF
##6F308C1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05498F
Deuteranopia (green-blind)
#2B4E8A
Tritanopia (blue-blind)
#6C4259
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f308c;
/* rgb */ color: rgb(111, 48, 140);
/* oklch */ color: oklch(43.8% 0.153 313.4);
Tailwind
colors: {
  custom: {
    50: '#9b6dae',
    500: '#6f308c',
    950: '#000000',
  },
}
SCSS
$custom: #6f308c;
$custom-light: #9b6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#6f308c",
  "rgb": {
    "r": 111,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 281.087,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4384,
    "c": 0.15292,
    "h": 313.4
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#6F308C
secondary
#7DB364
accent
#D84F7B
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6F308C

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

Preview Lab → · Contrast checker → · Palette generator →

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