#6A25B2#6A25B2

#6A25B2 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.9% C 0.204 H 300.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#6A25B2
RGBrgb(106, 37, 178)
HSLhsl(269, 66%, 42%)
HSVhsv(269, 79%, 70%)
CMYKcmyk(40.4%, 79.2%, 0%, 30.2%)
CIE-LABlab(33.14, 56.21, -61.79)
CIE-LCHlch(33.14, 83.54, 312.29°)
OKLaboklab(44.93% 0.1027 -0.1767)
OKLCHoklch(44.93% 0.204 300.2)
XYZxyz(14.6393, 7.6015, 42.8068)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A25B2 #6DB225
analogous
#2526B2 #6A25B2 #B125B2
triadic
#6A25B2 #B26A25 #25B26A
tetradic
#6A25B2 #B22526 #6DB225 #25B2B1
square
#6A25B2 #B22526 #6DB225 #25B2B1
split-complementary
#6A25B2 #B2B125 #26B225
monochromatic
#2E104D #4C1A7F #6A25B2 #883DD7 #A770E1

Accessibility & contrast

On white

8.33
#6A25B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6A25B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A25B2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A25B2#FFFFFF#000000##FFFFFF
##6A25B21.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#594C6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a25b2;
/* rgb */ color: rgb(106, 37, 178);
/* oklch */ color: oklch(44.9% 0.204 300.2);
Tailwind
colors: {
  custom: {
    50: '#9c68ca',
    500: '#6a25b2',
    950: '#000000',
  },
}
SCSS
$custom: #6a25b2;
$custom-light: #9c68ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6a25b2",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 269.362,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44926,
    "c": 0.20433,
    "h": 300.2
  },
  "luminance": 0.07602
}

Semantic roles & 50–950 ramp

primary
#6A25B2
secondary
#9AC86B
accent
#E93F96
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A25B2

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

Preview Lab → · Contrast checker → · Palette generator →

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