#6F398D#6F398D

#6F398D is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.2% C 0.140 H 311.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#6F398D
RGBrgb(111, 57, 141)
HSLhsl(279, 42%, 39%)
HSVhsv(279, 60%, 55%)
CMYKcmyk(21.3%, 59.6%, 0%, 44.7%)
CIE-LABlab(34.46, 38.98, -37.26)
CIE-LCHlch(34.46, 53.92, 316.29°)
OKLaboklab(45.16% 0.0933 -0.1046)
OKLCHoklch(45.16% 0.14 311.7)
XYZxyz(12.8255, 8.2291, 26.1069)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F398D #578D39
analogous
#45398D #6F398D #8D3981
triadic
#6F398D #8D6F39 #398D6F
tetradic
#6F398D #8D4539 #578D39 #39818D
square
#6F398D #8D4539 #578D39 #39818D
split-complementary
#6F398D #818D39 #398D45
monochromatic
#2A1636 #4D2761 #6F398D #914CB7 #AC78C8

Accessibility & contrast

On white

7.94
#6F398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6F398D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F398D
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F398D#FFFFFF#000000##FFFFFF
##6F398D1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E90
Deuteranopia (green-blind)
#33528B
Tritanopia (blue-blind)
#6C485D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f398d;
/* rgb */ color: rgb(111, 57, 141);
/* oklch */ color: oklch(45.2% 0.140 311.7);
Tailwind
colors: {
  custom: {
    50: '#9b72af',
    500: '#6f398d',
    950: '#000000',
  },
}
SCSS
$custom: #6f398d;
$custom-light: #9b72af;
$custom-dark: #000000;
JSON
{
  "hex": "#6f398d",
  "rgb": {
    "r": 111,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 278.571,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45155,
    "c": 0.14017,
    "h": 311.7
  },
  "luminance": 0.08229
}

Semantic roles & 50–950 ramp

primary
#6F398D
secondary
#88B270
accent
#D25682
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6F398D

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

Preview Lab → · Contrast checker → · Palette generator →

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