#6F25A5#6F25A5

#6F25A5 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.5% C 0.192 H 306.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#6F25A5
RGBrgb(111, 37, 165)
HSLhsl(275, 63%, 40%)
HSVhsv(275, 78%, 65%)
CMYKcmyk(32.7%, 77.6%, 0%, 35.3%)
CIE-LABlab(32.74, 54.00, -54.62)
CIE-LCHlch(32.74, 76.81, 314.67°)
OKLaboklab(44.46% 0.1133 -0.1554)
OKLCHoklch(44.46% 0.192 306.1)
XYZxyz(14.0071, 7.4194, 36.2842)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F25A5 #5BA525
analogous
#2F25A5 #6F25A5 #A5259B
triadic
#6F25A5 #A56F25 #25A56F
tetradic
#6F25A5 #A52F25 #5BA525 #259BA5
square
#6F25A5 #A52F25 #5BA525 #259BA5
split-complementary
#6F25A5 #9BA525 #25A52F
monochromatic
#2C0F41 #4D1A73 #6F25A5 #9035D2 #AB67DD

Accessibility & contrast

On white

8.45
#6F25A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6F25A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F25A5
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F25A5#FFFFFF#000000##FFFFFF
##6F25A51.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f25a5;
/* rgb */ color: rgb(111, 37, 165);
/* oklch */ color: oklch(44.5% 0.192 306.1);
Tailwind
colors: {
  custom: {
    50: '#9e68c1',
    500: '#6f25a5',
    950: '#000000',
  },
}
SCSS
$custom: #6f25a5;
$custom-light: #9e68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f25a5",
  "rgb": {
    "r": 111,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 274.688,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44461,
    "c": 0.19235,
    "h": 306.1
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#6F25A5
secondary
#8BC363
accent
#E64187
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F25A5

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

Preview Lab → · Contrast checker → · Palette generator →

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