#6E25B1#6E25B1

#6E25B1 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.3% C 0.204 H 302.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#6E25B1
RGBrgb(110, 37, 177)
HSLhsl(271, 65%, 42%)
HSVhsv(271, 79%, 69%)
CMYKcmyk(37.9%, 79.1%, 0%, 30.6%)
CIE-LABlab(33.59, 56.61, -60.44)
CIE-LCHlch(33.59, 82.81, 313.13°)
OKLaboklab(45.33% 0.1088 -0.1726)
OKLCHoklch(45.33% 0.204 302.2)
XYZxyz(15.0259, 7.8124, 42.3028)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E25B1 #68B125
analogous
#2825B1 #6E25B1 #B125AE
triadic
#6E25B1 #B16E25 #25B16E
tetradic
#6E25B1 #B12825 #68B125 #25AEB1
square
#6E25B1 #B12825 #68B125 #25AEB1
split-complementary
#6E25B1 #AEB125 #25B128
monochromatic
#2F104C #4F1A7E #6E25B1 #8D3DD6 #AB6FE1

Accessibility & contrast

On white

8.20
#6E25B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6E25B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E25B1
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E25B1#FFFFFF#000000##FFFFFF
##6E25B11.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#604B6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e25b1;
/* rgb */ color: rgb(110, 37, 177);
/* oklch */ color: oklch(45.3% 0.204 302.2);
Tailwind
colors: {
  custom: {
    50: '#9e69c9',
    500: '#6e25b1',
    950: '#000000',
  },
}
SCSS
$custom: #6e25b1;
$custom-light: #9e69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e25b1",
  "rgb": {
    "r": 110,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 271.286,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45329,
    "c": 0.204,
    "h": 302.2
  },
  "luminance": 0.07812
}

Semantic roles & 50–950 ramp

primary
#6E25B1
secondary
#97C86A
accent
#E83F90
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E25B1

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

Preview Lab → · Contrast checker → · Palette generator →

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