#6A25BD#6A25BD

#6A25BD is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.9% C 0.215 H 297.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#6A25BD
RGBrgb(106, 37, 189)
HSLhsl(267, 67%, 44%)
HSVhsv(267, 80%, 74%)
CMYKcmyk(43.9%, 80.4%, 0%, 25.9%)
CIE-LABlab(34.11, 58.86, -66.72)
CIE-LCHlch(34.11, 88.98, 311.42°)
OKLaboklab(45.9% 0.0993 -0.1911)
OKLCHoklch(45.9% 0.215 297.5)
XYZxyz(15.7883, 8.0611, 48.8584)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A25BD #78BD25
analogous
#252CBD #6A25BD #B625BD
triadic
#6A25BD #BD6A25 #25BD6A
tetradic
#6A25BD #BD252C #78BD25 #25BDB6
square
#6A25BD #BD252C #78BD25 #25BDB6
split-complementary
#6A25BD #BDB625 #2CBD25
monochromatic
#311157 #4D1B8A #6A25BD #8945DB #A978E5

Accessibility & contrast

On white

8.04
#6A25BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6A25BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A25BD
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A25BD#FFFFFF#000000##FFFFFF
##6A25BD1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#545072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a25bd;
/* rgb */ color: rgb(106, 37, 189);
/* oklch */ color: oklch(45.9% 0.215 297.5);
Tailwind
colors: {
  custom: {
    50: '#9d69d2',
    500: '#6a25bd',
    950: '#000000',
  },
}
SCSS
$custom: #6a25bd;
$custom-light: #9d69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a25bd",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 267.237,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45899,
    "c": 0.2154,
    "h": 297.5
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#6A25BD
secondary
#A3CC72
accent
#EA3E9C
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6A25BD

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

Preview Lab → · Contrast checker → · Palette generator →

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