#65229F#65229F

#65229F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.187 H 303.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#65229F
RGBrgb(101, 34, 159)
HSLhsl(272, 65%, 38%)
HSVhsv(272, 79%, 62%)
CMYKcmyk(36.5%, 78.6%, 0%, 37.6%)
CIE-LABlab(30.43, 52.04, -54.81)
CIE-LCHlch(30.43, 75.58, 313.51°)
OKLaboklab(42.39% 0.103 -0.1563)
OKLCHoklch(42.39% 0.187 303.4)
XYZxyz(12.1954, 6.4140, 33.3897)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65229F #5C9F22
analogous
#26229F #65229F #9F229A
triadic
#65229F #9F6522 #229F65
tetradic
#65229F #9F2622 #5C9F22 #229A9F
square
#65229F #9F2622 #5C9F22 #229A9F
split-complementary
#65229F #9A9F22 #229F26
monochromatic
#250C3A #45176D #65229F #852DD1 #A25FDD

Accessibility & contrast

On white

9.20
#65229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#65229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65229F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65229F#FFFFFF#000000##FFFFFF
##65229F1.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)
#0046A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#594360
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #65229f;
/* rgb */ color: rgb(101, 34, 159);
/* oklch */ color: oklch(42.4% 0.187 303.4);
Tailwind
colors: {
  custom: {
    50: '#9765bc',
    500: '#65229f',
    950: '#000000',
  },
}
SCSS
$custom: #65229f;
$custom-light: #9765bc;
$custom-dark: #000000;
JSON
{
  "hex": "#65229f",
  "rgb": {
    "r": 101,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 272.16,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42391,
    "c": 0.1872,
    "h": 303.4
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#65229F
secondary
#8BC15B
accent
#E8408E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #65229F

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

Preview Lab → · Contrast checker → · Palette generator →

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