#351152#351152

#351152 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.4% C 0.112 H 305.3°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#351152
RGBrgb(53, 17, 82)
HSLhsl(273, 66%, 19%)
HSVhsv(273, 79%, 32%)
CMYKcmyk(35.4%, 79.3%, 0%, 67.8%)
CIE-LABlab(14.21, 31.07, -32.21)
CIE-LCHlch(14.21, 44.75, 313.97°)
OKLaboklab(27.43% 0.0649 -0.0916)
OKLCHoklch(27.43% 0.112 305.3)
XYZxyz(3.1913, 1.7670, 8.1539)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351152 #2E5211
analogous
#151152 #351152 #52114F
triadic
#351152 #523511 #115235
tetradic
#351152 #521511 #2E5211 #114F52
square
#351152 #521511 #2E5211 #114F52
split-complementary
#351152 #4F5211 #115215
monochromatic
#100519 #14061F #351152 #561C85 #7726B7

Accessibility & contrast

On white

15.52
#351152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#351152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351152
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351152#FFFFFF#000000##FFFFFF
##3511521.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#302130
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #351152;
/* rgb */ color: rgb(53, 17, 82);
/* oklch */ color: oklch(27.4% 0.112 305.3);
Tailwind
colors: {
  custom: {
    50: '#705383',
    500: '#351152',
    950: '#000000',
  },
}
SCSS
$custom: #351152;
$custom-light: #705383;
$custom-dark: #000000;
JSON
{
  "hex": "#351152",
  "rgb": {
    "r": 53,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 273.231,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27434,
    "c": 0.11226,
    "h": 305.3
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

primary
#351152
secondary
#5B8B34
accent
#E93F8B
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #351152

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

Preview Lab → · Contrast checker → · Palette generator →

#351152 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva