#6A25B1#6A25B1

#6A25B1 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.8% C 0.203 H 300.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#6A25B1
RGBrgb(106, 37, 177)
HSLhsl(270, 65%, 42%)
HSVhsv(270, 79%, 69%)
CMYKcmyk(40.1%, 79.1%, 0%, 30.6%)
CIE-LABlab(33.05, 55.97, -61.34)
CIE-LCHlch(33.05, 83.04, 312.38°)
OKLaboklab(44.84% 0.103 -0.1753)
OKLCHoklch(44.84% 0.203 300.4)
XYZxyz(14.5393, 7.5615, 42.2800)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A25B1 #6CB125
analogous
#2526B1 #6A25B1 #B025B1
triadic
#6A25B1 #B16A25 #25B16A
tetradic
#6A25B1 #B12526 #6CB125 #25B1B0
square
#6A25B1 #B12526 #6CB125 #25B1B0
split-complementary
#6A25B1 #B1B025 #26B125
monochromatic
#2D104C #4C1A7E #6A25B1 #893DD6 #A76FE1

Accessibility & contrast

On white

8.36
#6A25B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6A25B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A25B1
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A25B1#FFFFFF#000000##FFFFFF
##6A25B11.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#594B6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a25b1;
/* rgb */ color: rgb(106, 37, 177);
/* oklch */ color: oklch(44.8% 0.203 300.4);
Tailwind
colors: {
  custom: {
    50: '#9b68c9',
    500: '#6a25b1',
    950: '#000000',
  },
}
SCSS
$custom: #6a25b1;
$custom-light: #9b68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a25b1",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 269.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4484,
    "c": 0.20333,
    "h": 300.4
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#6A25B1
secondary
#9AC86A
accent
#E83F95
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A25B1

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

Preview Lab → · Contrast checker → · Palette generator →

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