#65338C#65338C

#65338C is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.0% C 0.145 H 307.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#65338C
RGBrgb(101, 51, 140)
HSLhsl(274, 47%, 37%)
HSVhsv(274, 64%, 55%)
CMYKcmyk(27.9%, 63.6%, 0%, 45.1%)
CIE-LABlab(31.87, 39.40, -40.85)
CIE-LCHlch(31.87, 56.76, 313.96°)
OKLaboklab(42.97% 0.0877 -0.1154)
OKLCHoklch(42.97% 0.145 307.2)
XYZxyz(11.2833, 7.0279, 25.5680)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#65338C #5A8C33
analogous
#39338C #65338C #8C3386
triadic
#65338C #8C6533 #338C65
tetradic
#65338C #8C3933 #5A8C33 #33868C
square
#65338C #8C3933 #5A8C33 #33868C
split-complementary
#65338C #868C33 #338C39
monochromatic
#241232 #45235F #65338C #8543B9 #A26FCB

Accessibility & contrast

On white

8.73
#65338C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #65338C
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##65338C#FFFFFF#000000##FFFFFF
##65338C1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03498F
Deuteranopia (green-blind)
#234B8A
Tritanopia (blue-blind)
#5F455A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #65338c;
/* rgb */ color: rgb(101, 51, 140);
/* oklch */ color: oklch(43.0% 0.145 307.2);
Tailwind
colors: {
  custom: {
    50: '#946eae',
    500: '#65338c',
    950: '#000000',
  },
}
SCSS
$custom: #65338c;
$custom-light: #946eae;
$custom-dark: #000000;
JSON
{
  "hex": "#65338c",
  "rgb": {
    "r": 101,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 273.708,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42965,
    "c": 0.14493,
    "h": 307.2
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#65338C
secondary
#89B268
accent
#D6528C
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #65338C

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

Preview Lab → · Contrast checker → · Palette generator →

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