#65338D#65338D

#65338D is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.0% C 0.146 H 306.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#65338D
RGBrgb(101, 51, 141)
HSLhsl(273, 47%, 38%)
HSVhsv(273, 64%, 55%)
CMYKcmyk(28.4%, 63.8%, 0%, 44.7%)
CIE-LABlab(31.94, 39.65, -41.36)
CIE-LCHlch(31.94, 57.29, 313.79°)
OKLaboklab(43.04% 0.0876 -0.1169)
OKLCHoklch(43.04% 0.146 306.9)
XYZxyz(11.3574, 7.0576, 25.9581)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65338D #5B8D33
analogous
#38338D #65338D #8D3388
triadic
#65338D #8D6533 #338D65
tetradic
#65338D #8D3833 #5B8D33 #33888D
square
#65338D #8D3833 #5B8D33 #33888D
split-complementary
#65338D #888D33 #338D38
monochromatic
#251233 #452360 #65338D #8543BA #A26FCB

Accessibility & contrast

On white

8.71
#65338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#65338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65338D
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65338D#FFFFFF#000000##FFFFFF
##65338D1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#214C8B
Tritanopia (blue-blind)
#5F455B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #65338d;
/* rgb */ color: rgb(101, 51, 141);
/* oklch */ color: oklch(43.0% 0.146 306.9);
Tailwind
colors: {
  custom: {
    50: '#946eaf',
    500: '#65338d',
    950: '#000000',
  },
}
SCSS
$custom: #65338d;
$custom-light: #946eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#65338d",
  "rgb": {
    "r": 101,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 273.333,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43036,
    "c": 0.1461,
    "h": 306.9
  },
  "luminance": 0.07057
}

Semantic roles & 50–950 ramp

primary
#65338D
secondary
#8AB369
accent
#D7518D
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #65338D

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

Preview Lab → · Contrast checker → · Palette generator →

#65338D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva