#6F24A2#6F24A2

#6F24A2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.1% C 0.190 H 307.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#6F24A2
RGBrgb(111, 36, 162)
HSLhsl(276, 64%, 39%)
HSVhsv(276, 78%, 64%)
CMYKcmyk(31.5%, 77.8%, 0%, 36.5%)
CIE-LABlab(32.37, 53.71, -53.42)
CIE-LCHlch(32.37, 75.75, 315.16°)
OKLaboklab(44.12% 0.1149 -0.1519)
OKLCHoklch(44.12% 0.19 307.1)
XYZxyz(13.7066, 7.2501, 34.8527)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F24A2 #57A224
analogous
#3024A2 #6F24A2 #A22496
triadic
#6F24A2 #A26F24 #24A26F
tetradic
#6F24A2 #A23024 #57A224 #2496A2
square
#6F24A2 #A23024 #57A224 #2496A2
split-complementary
#6F24A2 #96A224 #24A230
monochromatic
#2A0E3E #4D1970 #6F24A2 #9132D1 #AC64DD

Accessibility & contrast

On white

8.57
#6F24A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6F24A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F24A2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F24A2#FFFFFF#000000##FFFFFF
##6F24A21.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#664462
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f24a2;
/* rgb */ color: rgb(111, 36, 162);
/* oklch */ color: oklch(44.1% 0.190 307.1);
Tailwind
colors: {
  custom: {
    50: '#9d67be',
    500: '#6f24a2',
    950: '#000000',
  },
}
SCSS
$custom: #6f24a2;
$custom-light: #9d67be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f24a2",
  "rgb": {
    "r": 111,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 275.714,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44124,
    "c": 0.19044,
    "h": 307.1
  },
  "luminance": 0.0725
}

Semantic roles & 50–950 ramp

primary
#6F24A2
secondary
#88C260
accent
#E74184
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F24A2

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

Preview Lab → · Contrast checker → · Palette generator →

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