#6F24BA#6F24BA

#6F24BA is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.1% C 0.214 H 300.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#6F24BA
RGBrgb(111, 36, 186)
HSLhsl(270, 68%, 44%)
HSVhsv(270, 81%, 73%)
CMYKcmyk(40.3%, 80.6%, 0%, 27.1%)
CIE-LABlab(34.37, 59.24, -64.50)
CIE-LCHlch(34.37, 87.58, 312.57°)
OKLaboklab(46.14% 0.1084 -0.1844)
OKLCHoklch(46.14% 0.214 300.4)
XYZxyz(16.0471, 8.1863, 47.1795)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F24BA #6FBA24
analogous
#2424BA #6F24BA #BA24BA
triadic
#6F24BA #BA6F24 #24BA6F
tetradic
#6F24BA #BA2424 #6FBA24 #24BABA
square
#6F24BA #BA2424 #6FBA24 #24BABA
split-complementary
#6F24BA #BABA24 #24BA24
monochromatic
#321053 #501A87 #6F24BA #8E41DA #AC74E4

Accessibility & contrast

On white

7.96
#6F24BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6F24BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F24BA
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F24BA#FFFFFF#000000##FFFFFF
##6F24BA1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#5D4E70
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f24ba;
/* rgb */ color: rgb(111, 36, 186);
/* oklch */ color: oklch(46.1% 0.214 300.4);
Tailwind
colors: {
  custom: {
    50: '#a069d0',
    500: '#6f24ba',
    950: '#000000',
  },
}
SCSS
$custom: #6f24ba;
$custom-light: #a069d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f24ba",
  "rgb": {
    "r": 111,
    "g": 36,
    "b": 186
  },
  "hsl": {
    "h": 270,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46138,
    "c": 0.21394,
    "h": 300.4
  },
  "luminance": 0.08186
}

Semantic roles & 50–950 ramp

primary
#6F24BA
secondary
#9DCB6E
accent
#EA3D94
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #6F24BA

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

Preview Lab → · Contrast checker → · Palette generator →

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