#65238B#65238B

#65238B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.166 H 309.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#65238B
RGBrgb(101, 35, 139)
HSLhsl(278, 60%, 34%)
HSVhsv(278, 75%, 55%)
CMYKcmyk(27.3%, 74.8%, 0%, 45.5%)
CIE-LABlab(28.99, 46.97, -44.88)
CIE-LCHlch(28.99, 64.96, 316.30°)
OKLaboklab(40.88% 0.1064 -0.1272)
OKLCHoklch(40.88% 0.166 309.9)
XYZxyz(10.6271, 5.8331, 24.9872)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65238B #498B23
analogous
#31238B #65238B #8B237D
triadic
#65238B #8B6523 #238B65
tetradic
#65238B #8B3123 #498B23 #237D8B
square
#65238B #8B3123 #498B23 #237D8B
split-complementary
#65238B #7D8B23 #238B31
monochromatic
#1E0A29 #41175A #65238B #892FBC #A554D4

Accessibility & contrast

On white

9.69
#65238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #65238B
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65238B#FFFFFF#000000##FFFFFF
##65238B1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#0B4589
Tritanopia (blue-blind)
#603B55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #65238b;
/* rgb */ color: rgb(101, 35, 139);
/* oklch */ color: oklch(40.9% 0.166 309.9);
Tailwind
colors: {
  custom: {
    50: '#9565ae',
    500: '#65238b',
    950: '#000000',
  },
}
SCSS
$custom: #65238b;
$custom-light: #9565ae;
$custom-dark: #000000;
JSON
{
  "hex": "#65238b",
  "rgb": {
    "r": 101,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 278.077,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40875,
    "c": 0.16578,
    "h": 309.9
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#65238B
secondary
#77B852
accent
#E3457F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #65238B

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

Preview Lab → · Contrast checker → · Palette generator →

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