#350D52#350D52

#350D52 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.117 H 306.1°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#350D52
RGBrgb(53, 13, 82)
HSLhsl(275, 73%, 19%)
HSVhsv(275, 84%, 32%)
CMYKcmyk(35.4%, 84.1%, 0%, 67.8%)
CIE-LABlab(13.56, 32.95, -33.28)
CIE-LCHlch(13.56, 46.83, 314.72°)
OKLaboklab(26.97% 0.0691 -0.0947)
OKLCHoklch(26.97% 0.117 306.1)
XYZxyz(3.1348, 1.6540, 8.1351)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350D52 #2A520D
analogous
#120D52 #350D52 #520D4C
triadic
#350D52 #52350D #0D5235
tetradic
#350D52 #52120D #2A520D #0D4C52
square
#350D52 #52120D #2A520D #0D4C52
split-complementary
#350D52 #4C520D #0D5212
monochromatic
#11041A #13051D #350D52 #571587 #791EBC

Accessibility & contrast

On white

15.78
#350D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#350D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #350D52
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350D52#FFFFFF#000000##FFFFFF
##350D521.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#002351
Tritanopia (blue-blind)
#301F2F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #350d52;
/* rgb */ color: rgb(53, 13, 82);
/* oklch */ color: oklch(27.0% 0.117 306.1);
Tailwind
colors: {
  custom: {
    50: '#705183',
    500: '#350d52',
    950: '#000000',
  },
}
SCSS
$custom: #350d52;
$custom-light: #705183;
$custom-dark: #000000;
JSON
{
  "hex": "#350d52",
  "rgb": {
    "r": 53,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 274.783,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2697,
    "c": 0.11725,
    "h": 306.1
  },
  "luminance": 0.01654
}

Semantic roles & 50–950 ramp

primary
#350D52
secondary
#568D2E
accent
#EF3885
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #350D52

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

Preview Lab → · Contrast checker → · Palette generator →

#350D52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva