#6F18A1#6F18A1

#6F18A1 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 43.1% C 0.200 H 308.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#6F18A1
RGBrgb(111, 24, 161)
HSLhsl(278, 74%, 36%)
HSVhsv(278, 85%, 63%)
CMYKcmyk(31.1%, 85.1%, 0%, 36.9%)
CIE-LABlab(30.89, 57.55, -55.21)
CIE-LCHlch(30.89, 79.75, 316.18°)
OKLaboklab(43.07% 0.1244 -0.1571)
OKLCHoklch(43.07% 0.2 308.4)
XYZxyz(13.3138, 6.6062, 34.2851)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F18A1 #4AA118
analogous
#2B18A1 #6F18A1 #A1188F
triadic
#6F18A1 #A16F18 #18A16F
tetradic
#6F18A1 #A12B18 #4AA118 #188FA1
square
#6F18A1 #A12B18 #4AA118 #188FA1
split-complementary
#6F18A1 #8FA118 #18A12B
monochromatic
#260836 #4A106C #6F18A1 #9420D6 #AE4FE5

Accessibility & contrast

On white

9.05
#6F18A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6F18A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F18A1
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F18A1#FFFFFF#000000##FFFFFF
##6F18A11.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#673E5F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f18a1;
/* rgb */ color: rgb(111, 24, 161);
/* oklch */ color: oklch(43.1% 0.200 308.4);
Tailwind
colors: {
  custom: {
    50: '#9e63be',
    500: '#6f18a1',
    950: '#000000',
  },
}
SCSS
$custom: #6f18a1;
$custom-light: #9e63be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f18a1",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 278.102,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43069,
    "c": 0.20034,
    "h": 308.4
  },
  "luminance": 0.06606
}

Semantic roles & 50–950 ramp

primary
#6F18A1
secondary
#7AC74E
accent
#F1377B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F18A1

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

Preview Lab → · Contrast checker → · Palette generator →

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