#65238F#65238F

#65238F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.170 H 308.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#65238F
RGBrgb(101, 35, 143)
HSLhsl(277, 61%, 35%)
HSVhsv(277, 76%, 56%)
CMYKcmyk(29.4%, 75.5%, 0%, 43.9%)
CIE-LABlab(29.29, 47.88, -46.87)
CIE-LCHlch(29.29, 67.00, 315.62°)
OKLaboklab(41.19% 0.1057 -0.133)
OKLCHoklch(41.19% 0.17 308.5)
XYZxyz(10.9248, 5.9521, 26.5546)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65238F #4D8F23
analogous
#2F238F #65238F #8F2383
triadic
#65238F #8F6523 #238F65
tetradic
#65238F #8F2F23 #4D8F23 #23838F
square
#65238F #8F2F23 #4D8F23 #23838F
split-complementary
#65238F #838F23 #238F2F
monochromatic
#200B2D #42175E #65238F #882FC0 #A457D6

Accessibility & contrast

On white

9.59
#65238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#65238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65238F
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65238F#FFFFFF#000000##FFFFFF
##65238F1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#5E3D57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #65238f;
/* rgb */ color: rgb(101, 35, 143);
/* oklch */ color: oklch(41.2% 0.170 308.5);
Tailwind
colors: {
  custom: {
    50: '#9565b1',
    500: '#65238f',
    950: '#000000',
  },
}
SCSS
$custom: #65238f;
$custom-light: #9565b1;
$custom-dark: #000000;
JSON
{
  "hex": "#65238f",
  "rgb": {
    "r": 101,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 276.667,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41186,
    "c": 0.16986,
    "h": 308.5
  },
  "luminance": 0.05952
}

Semantic roles & 50–950 ramp

primary
#65238F
secondary
#7CBA54
accent
#E44482
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #65238F

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

Preview Lab → · Contrast checker → · Palette generator →

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