#6F25A9#6F25A9

#6F25A9 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.196 H 304.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#6F25A9
RGBrgb(111, 37, 169)
HSLhsl(274, 64%, 40%)
HSVhsv(274, 78%, 66%)
CMYKcmyk(34.3%, 78.1%, 0%, 33.7%)
CIE-LABlab(33.06, 54.92, -56.50)
CIE-LCHlch(33.06, 78.80, 314.19°)
OKLaboklab(44.79% 0.1124 -0.161)
OKLCHoklch(44.79% 0.196 304.9)
XYZxyz(14.3769, 7.5673, 38.2317)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F25A9 #5FA925
analogous
#2D25A9 #6F25A9 #A925A1
triadic
#6F25A9 #A96F25 #25A96F
tetradic
#6F25A9 #A92D25 #5FA925 #25A1A9
square
#6F25A9 #A92D25 #5FA925 #25A1A9
split-complementary
#6F25A9 #A1A925 #25A92D
monochromatic
#2D0F45 #4E1A77 #6F25A9 #8F38D3 #AB6ADE

Accessibility & contrast

On white

8.36
#6F25A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6F25A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F25A9
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F25A9#FFFFFF#000000##FFFFFF
##6F25A91.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#644766
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f25a9;
/* rgb */ color: rgb(111, 37, 169);
/* oklch */ color: oklch(44.8% 0.196 304.9);
Tailwind
colors: {
  custom: {
    50: '#9e68c3',
    500: '#6f25a9',
    950: '#000000',
  },
}
SCSS
$custom: #6f25a9;
$custom-light: #9e68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f25a9",
  "rgb": {
    "r": 111,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 273.636,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44787,
    "c": 0.19629,
    "h": 304.9
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#6F25A9
secondary
#8FC465
accent
#E7418A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F25A9

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

Preview Lab → · Contrast checker → · Palette generator →

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