#6F18A0#6F18A0

#6F18A0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.199 H 308.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#6F18A0
RGBrgb(111, 24, 160)
HSLhsl(278, 74%, 36%)
HSVhsv(278, 85%, 63%)
CMYKcmyk(30.6%, 85%, 0%, 37.3%)
CIE-LABlab(30.81, 57.33, -54.74)
CIE-LCHlch(30.81, 79.27, 316.32°)
OKLaboklab(42.99% 0.1247 -0.1557)
OKLCHoklch(42.99% 0.199 308.7)
XYZxyz(13.2260, 6.5711, 33.8225)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F18A0 #49A018
analogous
#2B18A0 #6F18A0 #A0188D
triadic
#6F18A0 #A06F18 #18A06F
tetradic
#6F18A0 #A02B18 #49A018 #188DA0
square
#6F18A0 #A02B18 #49A018 #188DA0
split-complementary
#6F18A0 #8DA018 #18A02B
monochromatic
#250836 #4A106B #6F18A0 #9420D5 #AE4EE4

Accessibility & contrast

On white

9.07
#6F18A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6F18A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F18A0
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F18A0#FFFFFF#000000##FFFFFF
##6F18A01.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#673E5F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f18a0;
/* rgb */ color: rgb(111, 24, 160);
/* oklch */ color: oklch(43.0% 0.199 308.7);
Tailwind
colors: {
  custom: {
    50: '#9e63bd',
    500: '#6f18a0',
    950: '#000000',
  },
}
SCSS
$custom: #6f18a0;
$custom-light: #9e63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f18a0",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 278.382,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42985,
    "c": 0.19944,
    "h": 308.7
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#6F18A0
secondary
#79C64D
accent
#F1377A
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F18A0

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

Preview Lab → · Contrast checker → · Palette generator →

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