#60338F#60338F

#60338F is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.6% C 0.147 H 303.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#60338F
RGBrgb(96, 51, 143)
HSLhsl(269, 47%, 38%)
HSVhsv(269, 64%, 56%)
CMYKcmyk(32.9%, 64.3%, 0%, 43.9%)
CIE-LABlab(31.43, 38.94, -43.44)
CIE-LCHlch(31.43, 58.34, 311.88°)
OKLaboklab(42.57% 0.0805 -0.1232)
OKLCHoklch(42.57% 0.147 303.2)
XYZxyz(10.9645, 6.8376, 26.7234)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60338F #628F33
analogous
#33348F #60338F #8E338F
triadic
#60338F #8F6033 #338F60
tetradic
#60338F #8F3334 #628F33 #338F8E
square
#60338F #8F3334 #628F33 #338F8E
split-complementary
#60338F #8F8E33 #348F33
monochromatic
#231335 #422362 #60338F #7E43BC #9D70CC

Accessibility & contrast

On white

8.87
#60338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#60338F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60338F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60338F#FFFFFF#000000##FFFFFF
##60338F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#174A8D
Tritanopia (blue-blind)
#57475C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #60338f;
/* rgb */ color: rgb(96, 51, 143);
/* oklch */ color: oklch(42.6% 0.147 303.2);
Tailwind
colors: {
  custom: {
    50: '#916db0',
    500: '#60338f',
    950: '#000000',
  },
}
SCSS
$custom: #60338f;
$custom-light: #916db0;
$custom-dark: #000000;
JSON
{
  "hex": "#60338f",
  "rgb": {
    "r": 96,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 269.348,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42574,
    "c": 0.14715,
    "h": 303.2
  },
  "luminance": 0.06838
}

Semantic roles & 50–950 ramp

primary
#60338F
secondary
#90B46A
accent
#D75195
background
#F9F6FA
surface
#F1ECF5
border
#CBC7CF
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #60338F

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

Preview Lab → · Contrast checker → · Palette generator →

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