#65238A#65238A

#65238A is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.165 H 310.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#65238A
RGBrgb(101, 35, 138)
HSLhsl(278, 60%, 34%)
HSVhsv(278, 75%, 54%)
CMYKcmyk(26.8%, 74.6%, 0%, 45.9%)
CIE-LABlab(28.91, 46.74, -44.38)
CIE-LCHlch(28.91, 64.45, 316.48°)
OKLaboklab(40.8% 0.1066 -0.1257)
OKLCHoklch(40.8% 0.165 310.3)
XYZxyz(10.5544, 5.8040, 24.6041)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65238A #488A23
analogous
#32238A #65238A #8A237C
triadic
#65238A #8A6523 #238A65
tetradic
#65238A #8A3223 #488A23 #237C8A
square
#65238A #8A3223 #488A23 #237C8A
split-complementary
#65238A #7C8A23 #238A32
monochromatic
#1E0A28 #411759 #65238A #892FBB #A654D4

Accessibility & contrast

On white

9.72
#65238A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#65238A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65238A
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65238A#FFFFFF#000000##FFFFFF
##65238A1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#0E4588
Tritanopia (blue-blind)
#603A54
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #65238a;
/* rgb */ color: rgb(101, 35, 138);
/* oklch */ color: oklch(40.8% 0.165 310.3);
Tailwind
colors: {
  custom: {
    50: '#9565ad',
    500: '#65238a',
    950: '#000000',
  },
}
SCSS
$custom: #65238a;
$custom-light: #9565ad;
$custom-dark: #000000;
JSON
{
  "hex": "#65238a",
  "rgb": {
    "r": 101,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 278.447,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40798,
    "c": 0.16477,
    "h": 310.3
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#65238A
secondary
#76B751
accent
#E3457E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #65238A

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

Preview Lab → · Contrast checker → · Palette generator →

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