#350F51#350F51

#350F51 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.114 H 306.3°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#350F51
RGBrgb(53, 15, 81)
HSLhsl(275, 69%, 19%)
HSVhsv(275, 81%, 32%)
CMYKcmyk(34.6%, 81.5%, 0%, 68.2%)
CIE-LABlab(13.78, 31.78, -32.22)
CIE-LCHlch(13.78, 45.26, 314.61°)
OKLaboklab(27.1% 0.0673 -0.0916)
OKLCHoklch(27.1% 0.114 306.3)
XYZxyz(3.1239, 1.6926, 7.9451)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350F51 #2B510F
analogous
#140F51 #350F51 #510F4C
triadic
#350F51 #51350F #0F5135
tetradic
#350F51 #51140F #2B510F #0F4C51
square
#350F51 #51140F #2B510F #0F4C51
split-complementary
#350F51 #4C510F #0F5114
monochromatic
#11051A #13051D #350F51 #571985 #7922B8

Accessibility & contrast

On white

15.69
#350F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #350F51
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350F51#FFFFFF#000000##FFFFFF
##350F511.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #350f51;
/* rgb */ color: rgb(53, 15, 81);
/* oklch */ color: oklch(27.1% 0.114 306.3);
Tailwind
colors: {
  custom: {
    50: '#705282',
    500: '#350f51',
    950: '#000000',
  },
}
SCSS
$custom: #350f51;
$custom-light: #705282;
$custom-dark: #000000;
JSON
{
  "hex": "#350f51",
  "rgb": {
    "r": 53,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 274.545,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27103,
    "c": 0.1137,
    "h": 306.3
  },
  "luminance": 0.01693
}

Semantic roles & 50–950 ramp

primary
#350F51
secondary
#578B31
accent
#EC3C87
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #350F51

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

Preview Lab → · Contrast checker → · Palette generator →

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