#350D54#350D54

#350D54 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.2% C 0.119 H 305.0°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#350D54
RGBrgb(53, 13, 84)
HSLhsl(274, 73%, 19%)
HSVhsv(274, 85%, 33%)
CMYKcmyk(36.9%, 84.5%, 0%, 67.1%)
CIE-LABlab(13.74, 33.47, -34.34)
CIE-LCHlch(13.74, 47.96, 314.26°)
OKLaboklab(27.16% 0.0686 -0.0978)
OKLCHoklch(27.16% 0.119 305)
XYZxyz(3.2120, 1.6848, 8.5418)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350D54 #2C540D
analogous
#120D54 #350D54 #540D50
triadic
#350D54 #54350D #0D5435
tetradic
#350D54 #54120D #2C540D #0D5054
square
#350D54 #54120D #2C540D #0D5054
split-complementary
#350D54 #50540D #0D5412
monochromatic
#11041A #14051F #350D54 #561589 #781DBE

Accessibility & contrast

On white

15.71
#350D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #350D54
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350D54#FFFFFF#000000##FFFFFF
##350D541.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002256
Deuteranopia (green-blind)
#002353
Tritanopia (blue-blind)
#2F1F30
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #350d54;
/* rgb */ color: rgb(53, 13, 84);
/* oklch */ color: oklch(27.2% 0.119 305.0);
Tailwind
colors: {
  custom: {
    50: '#705185',
    500: '#350d54',
    950: '#000000',
  },
}
SCSS
$custom: #350d54;
$custom-light: #705185;
$custom-dark: #000000;
JSON
{
  "hex": "#350d54",
  "rgb": {
    "r": 53,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 273.803,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27155,
    "c": 0.11948,
    "h": 305
  },
  "luminance": 0.01685
}

Semantic roles & 50–950 ramp

primary
#350D54
secondary
#588F2E
accent
#F03888
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #350D54

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

Preview Lab → · Contrast checker → · Palette generator →

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