#6D25C4#6D25C4

#6D25C4 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.9% C 0.223 H 297.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6D25C4
RGBrgb(109, 37, 196)
HSLhsl(267, 68%, 46%)
HSVhsv(267, 81%, 77%)
CMYKcmyk(44.4%, 81.1%, 0%, 23.1%)
CIE-LABlab(35.12, 60.97, -69.16)
CIE-LCHlch(35.12, 92.20, 311.40°)
OKLaboklab(46.88% 0.1016 -0.1982)
OKLCHoklch(46.88% 0.223 297.1)
XYZxyz(16.9294, 8.5595, 52.9740)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D25C4 #7CC425
analogous
#252CC4 #6D25C4 #BC25C4
triadic
#6D25C4 #C46D25 #25C46D
tetradic
#6D25C4 #C4252C #7CC425 #25C4BC
square
#6D25C4 #C4252C #7CC425 #25C4BC
split-complementary
#6D25C4 #C4BC25 #2CC425
monochromatic
#34125D #501B91 #6D25C4 #8C49DD #AD7DE6

Accessibility & contrast

On white

7.74
#6D25C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6D25C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D25C4
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D25C4#FFFFFF#000000##FFFFFF
##6D25C41.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#555376
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d25c4;
/* rgb */ color: rgb(109, 37, 196);
/* oklch */ color: oklch(46.9% 0.223 297.1);
Tailwind
colors: {
  custom: {
    50: '#9f6ad7',
    500: '#6d25c4',
    950: '#000000',
  },
}
SCSS
$custom: #6d25c4;
$custom-light: #9f6ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d25c4",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 196
  },
  "hsl": {
    "h": 267.17,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46876,
    "c": 0.2227,
    "h": 297.1
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#6D25C4
secondary
#A7CF76
accent
#EB3D9C
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6D25C4

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

Preview Lab → · Contrast checker → · Palette generator →

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