#350D4C#350D4C

#350D4C is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.111 H 309.7°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#350D4C
RGBrgb(53, 13, 76)
HSLhsl(278, 71%, 17%)
HSVhsv(278, 83%, 30%)
CMYKcmyk(30.3%, 82.9%, 0%, 70.2%)
CIE-LABlab(13.03, 31.42, -30.02)
CIE-LCHlch(13.03, 43.46, 316.31°)
OKLaboklab(26.43% 0.0706 -0.0851)
OKLCHoklch(26.43% 0.111 309.7)
XYZxyz(2.9164, 1.5666, 6.9848)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350D4C #244C0D
analogous
#150D4C #350D4C #4C0D44
triadic
#350D4C #4C350D #0D4C35
tetradic
#350D4C #4C150D #244C0D #0D444C
square
#350D4C #4C150D #244C0D #0D444C
split-complementary
#350D4C #444C0D #0D4C15
monochromatic
#12041A #12041A #350D4C #591680 #7E1FB5

Accessibility & contrast

On white

15.99
#350D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#350D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #350D4C
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350D4C#FFFFFF#000000##FFFFFF
##350D4C1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204E
Deuteranopia (green-blind)
#00224B
Tritanopia (blue-blind)
#321C2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #350d4c;
/* rgb */ color: rgb(53, 13, 76);
/* oklch */ color: oklch(26.4% 0.111 309.7);
Tailwind
colors: {
  custom: {
    50: '#6f507e',
    500: '#350d4c',
    950: '#000000',
  },
}
SCSS
$custom: #350d4c;
$custom-light: #6f507e;
$custom-dark: #000000;
JSON
{
  "hex": "#350d4c",
  "rgb": {
    "r": 53,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 278.095,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26431,
    "c": 0.11058,
    "h": 309.7
  },
  "luminance": 0.01567
}

Semantic roles & 50–950 ramp

primary
#350D4C
secondary
#4E872E
accent
#EE3A7C
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #350D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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