#65229D#65229D

#65229D is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.185 H 304.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#65229D
RGBrgb(101, 34, 157)
HSLhsl(273, 64%, 37%)
HSVhsv(273, 78%, 62%)
CMYKcmyk(35.7%, 78.3%, 0%, 38.4%)
CIE-LABlab(30.27, 51.57, -53.87)
CIE-LCHlch(30.27, 74.57, 313.75°)
OKLaboklab(42.22% 0.1035 -0.1535)
OKLCHoklch(42.22% 0.185 304)
XYZxyz(12.0232, 6.3451, 32.4831)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65229D #5A9D22
analogous
#28229D #65229D #9D2298
triadic
#65229D #9D6522 #229D65
tetradic
#65229D #9D2822 #5A9D22 #22989D
square
#65229D #9D2822 #5A9D22 #22989D
split-complementary
#65229D #989D22 #229D28
monochromatic
#240C38 #45176B #65229D #852DCF #A25DDC

Accessibility & contrast

On white

9.26
#65229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#65229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65229D
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65229D#FFFFFF#000000##FFFFFF
##65229D1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#5A425F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #65229d;
/* rgb */ color: rgb(101, 34, 157);
/* oklch */ color: oklch(42.2% 0.185 304.0);
Tailwind
colors: {
  custom: {
    50: '#9665bb',
    500: '#65229d',
    950: '#000000',
  },
}
SCSS
$custom: #65229d;
$custom-light: #9665bb;
$custom-dark: #000000;
JSON
{
  "hex": "#65229d",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 272.683,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42223,
    "c": 0.18518,
    "h": 304
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

primary
#65229D
secondary
#89C15A
accent
#E7408C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #65229D

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

Preview Lab → · Contrast checker → · Palette generator →

#65229D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva