#350F57#350F57

#350F57 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.7% C 0.121 H 303.1°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#350F57
RGBrgb(53, 15, 87)
HSLhsl(272, 71%, 20%)
HSVhsv(272, 83%, 34%)
CMYKcmyk(39.1%, 82.8%, 0%, 65.9%)
CIE-LABlab(14.33, 33.37, -35.42)
CIE-LCHlch(14.33, 48.66, 313.29°)
OKLaboklab(27.65% 0.0658 -0.101)
OKLCHoklch(27.65% 0.121 303.1)
XYZxyz(3.3589, 1.7867, 9.1829)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350F57 #31570F
analogous
#110F57 #350F57 #570F55
triadic
#350F57 #57350F #0F5735
tetradic
#350F57 #57110F #31570F #0F5557
square
#350F57 #57110F #31570F #0F5557
split-complementary
#350F57 #55570F #0F5711
monochromatic
#10051A #150623 #350F57 #55188B #7521BF

Accessibility & contrast

On white

15.47
#350F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#350F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #350F57
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350F57#FFFFFF#000000##FFFFFF
##350F571.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#002456
Tritanopia (blue-blind)
#2E2232
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #350f57;
/* rgb */ color: rgb(53, 15, 87);
/* oklch */ color: oklch(27.7% 0.121 303.1);
Tailwind
colors: {
  custom: {
    50: '#705287',
    500: '#350f57',
    950: '#000000',
  },
}
SCSS
$custom: #350f57;
$custom-light: #705287;
$custom-dark: #000000;
JSON
{
  "hex": "#350f57",
  "rgb": {
    "r": 53,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 271.667,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.27652,
    "c": 0.12055,
    "h": 303.1
  },
  "luminance": 0.01787
}

Semantic roles & 50–950 ramp

primary
#350F57
secondary
#5E9131
accent
#ED3A8F
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #350F57

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

Preview Lab → · Contrast checker → · Palette generator →

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