#6F338D#6F338D

#6F338D is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.3% C 0.150 H 312.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6F338D
RGBrgb(111, 51, 141)
HSLhsl(280, 47%, 38%)
HSVhsv(280, 64%, 55%)
CMYKcmyk(21.3%, 63.8%, 0%, 44.7%)
CIE-LABlab(33.29, 42.14, -39.12)
CIE-LCHlch(33.29, 57.50, 317.12°)
OKLaboklab(44.31% 0.1013 -0.11)
OKLCHoklch(44.31% 0.15 312.6)
XYZxyz(12.5462, 7.6706, 26.0138)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F338D #518D33
analogous
#42338D #6F338D #8D337E
triadic
#6F338D #8D6F33 #338D6F
tetradic
#6F338D #8D4233 #518D33 #337E8D
square
#6F338D #8D4233 #518D33 #337E8D
split-complementary
#6F338D #7E8D33 #338D42
monochromatic
#281233 #4C2360 #6F338D #9243BA #AC6FCB

Accessibility & contrast

On white

8.29
#6F338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6F338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F338D
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F338D#FFFFFF#000000##FFFFFF
##6F338D1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4B90
Deuteranopia (green-blind)
#2D508B
Tritanopia (blue-blind)
#6C445B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f338d;
/* rgb */ color: rgb(111, 51, 141);
/* oklch */ color: oklch(44.3% 0.150 312.6);
Tailwind
colors: {
  custom: {
    50: '#9b6eaf',
    500: '#6f338d',
    950: '#000000',
  },
}
SCSS
$custom: #6f338d;
$custom-light: #9b6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f338d",
  "rgb": {
    "r": 111,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 280,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44305,
    "c": 0.14953,
    "h": 312.6
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

primary
#6F338D
secondary
#82B369
accent
#D7517E
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6F338D

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

Preview Lab → · Contrast checker → · Palette generator →

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