#6C25BD#6C25BD

#6C25BD is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.1% C 0.216 H 298.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#6C25BD
RGBrgb(108, 37, 189)
HSLhsl(268, 67%, 44%)
HSVhsv(268, 80%, 74%)
CMYKcmyk(42.9%, 80.4%, 0%, 25.9%)
CIE-LABlab(34.37, 59.15, -66.29)
CIE-LCHlch(34.37, 88.84, 311.74°)
OKLaboklab(46.13% 0.1023 -0.1898)
OKLCHoklch(46.13% 0.216 298.3)
XYZxyz(16.0288, 8.1851, 48.8696)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C25BD #76BD25
analogous
#252ABD #6C25BD #B825BD
triadic
#6C25BD #BD6C25 #25BD6C
tetradic
#6C25BD #BD252A #76BD25 #25BDB8
square
#6C25BD #BD252A #76BD25 #25BDB8
split-complementary
#6C25BD #BDB825 #2ABD25
monochromatic
#321157 #4F1B8A #6C25BD #8B45DB #AB78E5

Accessibility & contrast

On white

7.96
#6C25BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6C25BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C25BD
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C25BD#FFFFFF#000000##FFFFFF
##6C25BD1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#575072
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c25bd;
/* rgb */ color: rgb(108, 37, 189);
/* oklch */ color: oklch(46.1% 0.216 298.3);
Tailwind
colors: {
  custom: {
    50: '#9e69d2',
    500: '#6c25bd',
    950: '#000000',
  },
}
SCSS
$custom: #6c25bd;
$custom-light: #9e69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c25bd",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 268.026,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46132,
    "c": 0.21562,
    "h": 298.3
  },
  "luminance": 0.08185
}

Semantic roles & 50–950 ramp

primary
#6C25BD
secondary
#A2CC72
accent
#EA3E9A
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6C25BD

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

Preview Lab → · Contrast checker → · Palette generator →

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