#350F54#350F54

#350F54 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.4% C 0.117 H 304.6°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#350F54
RGBrgb(53, 15, 84)
HSLhsl(273, 70%, 19%)
HSVhsv(273, 82%, 33%)
CMYKcmyk(36.9%, 82.1%, 0%, 67.1%)
CIE-LABlab(14.05, 32.57, -33.83)
CIE-LCHlch(14.05, 46.97, 313.91°)
OKLaboklab(27.38% 0.0666 -0.0963)
OKLCHoklch(27.38% 0.117 304.6)
XYZxyz(3.2389, 1.7386, 8.5507)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350F54 #2E540F
analogous
#120F54 #350F54 #540F51
triadic
#350F54 #54350F #0F5435
tetradic
#350F54 #54120F #2E540F #0F5154
square
#350F54 #54120F #2E540F #0F5154
split-complementary
#350F54 #51540F #0F5412
monochromatic
#10051A #140620 #350F54 #561888 #7722BC

Accessibility & contrast

On white

15.58
#350F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #350F54
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350F54#FFFFFF#000000##FFFFFF
##350F541.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#002453
Tritanopia (blue-blind)
#2F2031
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #350f54;
/* rgb */ color: rgb(53, 15, 84);
/* oklch */ color: oklch(27.4% 0.117 304.6);
Tailwind
colors: {
  custom: {
    50: '#705285',
    500: '#350f54',
    950: '#000000',
  },
}
SCSS
$custom: #350f54;
$custom-light: #705285;
$custom-dark: #000000;
JSON
{
  "hex": "#350f54",
  "rgb": {
    "r": 53,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 273.043,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27375,
    "c": 0.11712,
    "h": 304.6
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#350F54
secondary
#5B8E31
accent
#ED3B8B
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #350F54

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

Preview Lab → · Contrast checker → · Palette generator →

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