#350F56#350F56

#350F56 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.6% C 0.119 H 303.6°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#350F56
RGBrgb(53, 15, 86)
HSLhsl(272, 70%, 20%)
HSVhsv(272, 83%, 34%)
CMYKcmyk(38.4%, 82.6%, 0%, 66.3%)
CIE-LABlab(14.23, 33.10, -34.90)
CIE-LCHlch(14.23, 48.10, 313.49°)
OKLaboklab(27.56% 0.0661 -0.0995)
OKLCHoklch(27.56% 0.119 303.6)
XYZxyz(3.3183, 1.7704, 8.9692)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350F56 #30560F
analogous
#120F56 #350F56 #560F53
triadic
#350F56 #56350F #0F5635
tetradic
#350F56 #56120F #30560F #0F5356
square
#350F56 #56120F #30560F #0F5356
split-complementary
#350F56 #53560F #0F5612
monochromatic
#10051A #150622 #350F56 #55188A #7521BE

Accessibility & contrast

On white

15.51
#350F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#350F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #350F56
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350F56#FFFFFF#000000##FFFFFF
##350F561.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#2E2132
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #350f56;
/* rgb */ color: rgb(53, 15, 86);
/* oklch */ color: oklch(27.6% 0.119 303.6);
Tailwind
colors: {
  custom: {
    50: '#705286',
    500: '#350f56',
    950: '#000000',
  },
}
SCSS
$custom: #350f56;
$custom-light: #705286;
$custom-dark: #000000;
JSON
{
  "hex": "#350f56",
  "rgb": {
    "r": 53,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 272.113,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27559,
    "c": 0.11941,
    "h": 303.6
  },
  "luminance": 0.0177
}

Semantic roles & 50–950 ramp

primary
#350F56
secondary
#5D9031
accent
#ED3B8E
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #350F56

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

Preview Lab → · Contrast checker → · Palette generator →

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