#65338F#65338F

#65338F is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.2% C 0.148 H 306.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#65338F
RGBrgb(101, 51, 143)
HSLhsl(273, 47%, 38%)
HSVhsv(273, 64%, 56%)
CMYKcmyk(29.4%, 64.3%, 0%, 43.9%)
CIE-LABlab(32.07, 40.14, -42.38)
CIE-LCHlch(32.07, 58.37, 313.45°)
OKLaboklab(43.18% 0.0875 -0.1199)
OKLCHoklch(43.18% 0.148 306.1)
XYZxyz(11.5075, 7.1176, 26.7489)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65338F #5D8F33
analogous
#37338F #65338F #8F338B
triadic
#65338F #8F6533 #338F65
tetradic
#65338F #8F3733 #5D8F33 #338B8F
square
#65338F #8F3733 #5D8F33 #338B8F
split-complementary
#65338F #8B8F33 #338F37
monochromatic
#251335 #452362 #65338F #8543BC #A270CC

Accessibility & contrast

On white

8.66
#65338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#65338F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #65338F
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65338F#FFFFFF#000000##FFFFFF
##65338F1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#1F4C8D
Tritanopia (blue-blind)
#5E465C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #65338f;
/* rgb */ color: rgb(101, 51, 143);
/* oklch */ color: oklch(43.2% 0.148 306.1);
Tailwind
colors: {
  custom: {
    50: '#946eb0',
    500: '#65338f',
    950: '#000000',
  },
}
SCSS
$custom: #65338f;
$custom-light: #946eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#65338f",
  "rgb": {
    "r": 101,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 272.609,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43177,
    "c": 0.14843,
    "h": 306.1
  },
  "luminance": 0.07118
}

Semantic roles & 50–950 ramp

primary
#65338F
secondary
#8CB46A
accent
#D7518E
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #65338F

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

Preview Lab → · Contrast checker → · Palette generator →

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