#6025A2#6025A2

#6025A2 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.186 H 299.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#6025A2
RGBrgb(96, 37, 162)
HSLhsl(268, 63%, 39%)
HSVhsv(268, 77%, 64%)
CMYKcmyk(40.7%, 77.2%, 0%, 36.5%)
CIE-LABlab(30.44, 50.68, -56.64)
CIE-LCHlch(30.44, 76.00, 311.82°)
OKLaboklab(42.33% 0.0922 -0.1619)
OKLCHoklch(42.33% 0.186 299.7)
XYZxyz(12.0054, 6.4184, 34.7818)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6025A2 #67A225
analogous
#2529A2 #6025A2 #9F25A2
triadic
#6025A2 #A26025 #25A260
tetradic
#6025A2 #A22529 #67A225 #25A29F
square
#6025A2 #A22529 #67A225 #25A29F
split-complementary
#6025A2 #A29F25 #29A225
monochromatic
#250E3E #421A70 #6025A2 #7E34D1 #9D65DC

Accessibility & contrast

On white

9.20
#6025A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6025A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6025A2
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6025A2#FFFFFF#000000##FFFFFF
##6025A21.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#504662
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6025a2;
/* rgb */ color: rgb(96, 37, 162);
/* oklch */ color: oklch(42.3% 0.186 299.7);
Tailwind
colors: {
  custom: {
    50: '#9466be',
    500: '#6025a2',
    950: '#000000',
  },
}
SCSS
$custom: #6025a2;
$custom-light: #9466be;
$custom-dark: #000000;
JSON
{
  "hex": "#6025a2",
  "rgb": {
    "r": 96,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 268.32,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42332,
    "c": 0.18632,
    "h": 299.7
  },
  "luminance": 0.06419
}

Semantic roles & 50–950 ramp

primary
#6025A2
secondary
#94C261
accent
#E64298
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6025A2

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

Preview Lab → · Contrast checker → · Palette generator →

#6025A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva