#350D56#350D56

#350D56 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.122 H 304.0°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#350D56
RGBrgb(53, 13, 86)
HSLhsl(273, 74%, 19%)
HSVhsv(273, 85%, 34%)
CMYKcmyk(38.4%, 84.9%, 0%, 66.3%)
CIE-LABlab(13.92, 33.99, -35.40)
CIE-LCHlch(13.92, 49.08, 313.84°)
OKLaboklab(27.34% 0.068 -0.1009)
OKLCHoklch(27.34% 0.122 304)
XYZxyz(3.2914, 1.7166, 8.9602)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350D56 #2E560D
analogous
#110D56 #350D56 #560D53
triadic
#350D56 #56350D #0D5635
tetradic
#350D56 #56110D #2E560D #0D5356
square
#350D56 #56110D #2E560D #0D5356
split-complementary
#350D56 #53560D #0D5611
monochromatic
#10041B #140521 #350D56 #56158B #771DC0

Accessibility & contrast

On white

15.63
#350D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#350D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #350D56
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350D56#FFFFFF#000000##FFFFFF
##350D561.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#002355
Tritanopia (blue-blind)
#2E2031
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #350d56;
/* rgb */ color: rgb(53, 13, 86);
/* oklch */ color: oklch(27.3% 0.122 304.0);
Tailwind
colors: {
  custom: {
    50: '#705186',
    500: '#350d56',
    950: '#000000',
  },
}
SCSS
$custom: #350d56;
$custom-light: #705186;
$custom-dark: #000000;
JSON
{
  "hex": "#350d56",
  "rgb": {
    "r": 53,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 272.877,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27342,
    "c": 0.1217,
    "h": 304
  },
  "luminance": 0.01717
}

Semantic roles & 50–950 ramp

primary
#350D56
secondary
#5B912E
accent
#F0378B
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #350D56

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

Preview Lab → · Contrast checker → · Palette generator →

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