#6F2398#6F2398

#6F2398 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.182 H 310.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6F2398
RGBrgb(111, 35, 152)
HSLhsl(279, 63%, 37%)
HSVhsv(279, 77%, 60%)
CMYKcmyk(27%, 77%, 0%, 40.4%)
CIE-LABlab(31.46, 51.87, -48.81)
CIE-LCHlch(31.46, 71.23, 316.74°)
OKLaboklab(43.24% 0.1179 -0.1383)
OKLCHoklch(43.24% 0.182 310.4)
XYZxyz(12.8230, 6.8489, 30.3461)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2398 #4C9823
analogous
#342398 #6F2398 #982387
triadic
#6F2398 #986F23 #23986F
tetradic
#6F2398 #983423 #4C9823 #238798
square
#6F2398 #983423 #4C9823 #238798
split-complementary
#6F2398 #879823 #239834
monochromatic
#260C35 #4B1866 #6F2398 #932ECA #AD5CD9

Accessibility & contrast

On white

8.86
#6F2398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6F2398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2398
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2398#FFFFFF#000000##FFFFFF
##6F23981.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#044B96
Tritanopia (blue-blind)
#693F5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f2398;
/* rgb */ color: rgb(111, 35, 152);
/* oklch */ color: oklch(43.2% 0.182 310.4);
Tailwind
colors: {
  custom: {
    50: '#9d67b7',
    500: '#6f2398',
    950: '#000000',
  },
}
SCSS
$custom: #6f2398;
$custom-light: #9d67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2398",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 278.974,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43242,
    "c": 0.18176,
    "h": 310.4
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

primary
#6F2398
secondary
#7CBE59
accent
#E6427B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F2398

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

Preview Lab → · Contrast checker → · Palette generator →

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