#6D25AF#6D25AF

#6D25AF is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.0% C 0.202 H 302.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6D25AF
RGBrgb(109, 37, 175)
HSLhsl(271, 65%, 42%)
HSVhsv(271, 79%, 69%)
CMYKcmyk(37.7%, 78.9%, 0%, 31.4%)
CIE-LABlab(33.28, 55.98, -59.75)
CIE-LCHlch(33.28, 81.88, 313.13°)
OKLaboklab(45.04% 0.1079 -0.1706)
OKLCHoklch(45.04% 0.202 302.3)
XYZxyz(14.7042, 7.6694, 41.2548)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D25AF #67AF25
analogous
#2825AF #6D25AF #AF25AC
triadic
#6D25AF #AF6D25 #25AF6D
tetradic
#6D25AF #AF2825 #67AF25 #25ACAF
square
#6D25AF #AF2825 #67AF25 #25ACAF
split-complementary
#6D25AF #ACAF25 #25AF28
monochromatic
#2E104A #4E1A7C #6D25AF #8C3CD6 #AA6EE0

Accessibility & contrast

On white

8.29
#6D25AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6D25AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D25AF
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D25AF#FFFFFF#000000##FFFFFF
##6D25AF1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#5F4A6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d25af;
/* rgb */ color: rgb(109, 37, 175);
/* oklch */ color: oklch(45.0% 0.202 302.3);
Tailwind
colors: {
  custom: {
    50: '#9d68c8',
    500: '#6d25af',
    950: '#000000',
  },
}
SCSS
$custom: #6d25af;
$custom-light: #9d68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d25af",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 271.304,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45036,
    "c": 0.20183,
    "h": 302.3
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

primary
#6D25AF
secondary
#96C769
accent
#E84090
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D25AF

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

Preview Lab → · Contrast checker → · Palette generator →

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