#65229B#65229B

#65229B is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.183 H 304.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#65229B
RGBrgb(101, 34, 155)
HSLhsl(273, 64%, 37%)
HSVhsv(273, 78%, 61%)
CMYKcmyk(34.8%, 78.1%, 0%, 39.2%)
CIE-LABlab(30.10, 51.10, -52.92)
CIE-LCHlch(30.10, 73.56, 314.00°)
OKLaboklab(42.06% 0.104 -0.1508)
OKLCHoklch(42.06% 0.183 304.6)
XYZxyz(11.8539, 6.2774, 31.5912)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65229B #589B22
analogous
#29229B #65229B #9B2295
triadic
#65229B #9B6522 #229B65
tetradic
#65229B #9B2922 #589B22 #22959B
square
#65229B #9B2922 #589B22 #22959B
split-complementary
#65229B #959B22 #229B29
monochromatic
#240C37 #441769 #65229B #862DCD #A35CDB

Accessibility & contrast

On white

9.31
#65229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#65229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65229B
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65229B#FFFFFF#000000##FFFFFF
##65229B1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#5B415E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #65229b;
/* rgb */ color: rgb(101, 34, 155);
/* oklch */ color: oklch(42.1% 0.183 304.6);
Tailwind
colors: {
  custom: {
    50: '#9665b9',
    500: '#65229b',
    950: '#000000',
  },
}
SCSS
$custom: #65229b;
$custom-light: #9665b9;
$custom-dark: #000000;
JSON
{
  "hex": "#65229b",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 273.223,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42056,
    "c": 0.18315,
    "h": 304.6
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#65229B
secondary
#87C059
accent
#E7418B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #65229B

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

Preview Lab → · Contrast checker → · Palette generator →

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