#65238C#65238C

#65238C is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.167 H 309.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#65238C
RGBrgb(101, 35, 140)
HSLhsl(278, 60%, 34%)
HSVhsv(278, 75%, 55%)
CMYKcmyk(27.9%, 75%, 0%, 45.1%)
CIE-LABlab(29.06, 47.19, -45.38)
CIE-LCHlch(29.06, 65.47, 316.12°)
OKLaboklab(40.95% 0.1062 -0.1286)
OKLCHoklch(40.95% 0.167 309.5)
XYZxyz(10.7005, 5.8624, 25.3737)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65238C #4A8C23
analogous
#30238C #65238C #8C237F
triadic
#65238C #8C6523 #238C65
tetradic
#65238C #8C3023 #4A8C23 #237F8C
square
#65238C #8C3023 #4A8C23 #237F8C
split-complementary
#65238C #7F8C23 #238C30
monochromatic
#1E0B2A #42175B #65238C #882FBD #A555D4

Accessibility & contrast

On white

9.67
#65238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#65238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65238C
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65238C#FFFFFF#000000##FFFFFF
##65238C1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#08458A
Tritanopia (blue-blind)
#5F3B55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #65238c;
/* rgb */ color: rgb(101, 35, 140);
/* oklch */ color: oklch(41.0% 0.167 309.5);
Tailwind
colors: {
  custom: {
    50: '#9565ae',
    500: '#65238c',
    950: '#000000',
  },
}
SCSS
$custom: #65238c;
$custom-light: #9565ae;
$custom-dark: #000000;
JSON
{
  "hex": "#65238c",
  "rgb": {
    "r": 101,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 277.714,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40952,
    "c": 0.1668,
    "h": 309.5
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#65238C
secondary
#78B852
accent
#E34580
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #65238C

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

Preview Lab → · Contrast checker → · Palette generator →

#65238C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva