#6F24A5#6F24A5

#6F24A5 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.193 H 306.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#6F24A5
RGBrgb(111, 36, 165)
HSLhsl(275, 64%, 39%)
HSVhsv(275, 78%, 65%)
CMYKcmyk(32.7%, 78.2%, 0%, 35.3%)
CIE-LABlab(32.61, 54.39, -54.84)
CIE-LCHlch(32.61, 77.24, 314.77°)
OKLaboklab(44.37% 0.1142 -0.1561)
OKLCHoklch(44.37% 0.193 306.2)
XYZxyz(13.9765, 7.3580, 36.2740)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F24A5 #5AA524
analogous
#2F24A5 #6F24A5 #A5249B
triadic
#6F24A5 #A56F24 #24A56F
tetradic
#6F24A5 #A52F24 #5AA524 #249BA5
square
#6F24A5 #A52F24 #5AA524 #249BA5
split-complementary
#6F24A5 #9BA524 #24A52F
monochromatic
#2B0E41 #4D1973 #6F24A5 #9034D3 #AB66DE

Accessibility & contrast

On white

8.50
#6F24A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6F24A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F24A5
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F24A5#FFFFFF#000000##FFFFFF
##6F24A51.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#654564
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f24a5;
/* rgb */ color: rgb(111, 36, 165);
/* oklch */ color: oklch(44.4% 0.193 306.2);
Tailwind
colors: {
  custom: {
    50: '#9e68c1',
    500: '#6f24a5',
    950: '#000000',
  },
}
SCSS
$custom: #6f24a5;
$custom-light: #9e68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f24a5",
  "rgb": {
    "r": 111,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 274.884,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44366,
    "c": 0.19337,
    "h": 306.2
  },
  "luminance": 0.07358
}

Semantic roles & 50–950 ramp

primary
#6F24A5
secondary
#8AC362
accent
#E74186
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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