#6F388D#6F388D

#6F388D is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.0% C 0.142 H 311.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6F388D
RGBrgb(111, 56, 141)
HSLhsl(279, 43%, 39%)
HSVhsv(279, 60%, 55%)
CMYKcmyk(21.3%, 60.3%, 0%, 44.7%)
CIE-LABlab(34.25, 39.52, -37.58)
CIE-LCHlch(34.25, 54.53, 316.44°)
OKLaboklab(45.01% 0.0947 -0.1055)
OKLCHoklch(45.01% 0.142 311.9)
XYZxyz(12.7766, 8.1312, 26.0906)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F388D #568D38
analogous
#45388D #6F388D #8D3880
triadic
#6F388D #8D6F38 #388D6F
tetradic
#6F388D #8D4538 #568D38 #38808D
square
#6F388D #8D4538 #568D38 #38808D
split-complementary
#6F388D #808D38 #388D45
monochromatic
#2A1535 #4D2761 #6F388D #914BB7 #AC77C9

Accessibility & contrast

On white

8.00
#6F388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6F388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F388D
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F388D#FFFFFF#000000##FFFFFF
##6F388D1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E90
Deuteranopia (green-blind)
#32528B
Tritanopia (blue-blind)
#6C475D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f388d;
/* rgb */ color: rgb(111, 56, 141);
/* oklch */ color: oklch(45.0% 0.142 311.9);
Tailwind
colors: {
  custom: {
    50: '#9b71af',
    500: '#6f388d',
    950: '#000000',
  },
}
SCSS
$custom: #6f388d;
$custom-light: #9b71af;
$custom-dark: #000000;
JSON
{
  "hex": "#6f388d",
  "rgb": {
    "r": 111,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 278.824,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45008,
    "c": 0.14176,
    "h": 311.9
  },
  "luminance": 0.08131
}

Semantic roles & 50–950 ramp

primary
#6F388D
secondary
#87B26F
accent
#D35581
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6F388D

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

Preview Lab → · Contrast checker → · Palette generator →

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