#350F5C#350F5C

#350F5C is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.126 H 300.6°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#350F5C
RGBrgb(53, 15, 92)
HSLhsl(270, 72%, 21%)
HSVhsv(270, 84%, 36%)
CMYKcmyk(42.4%, 83.7%, 0%, 63.9%)
CIE-LABlab(14.80, 34.71, -38.02)
CIE-LCHlch(14.80, 51.48, 312.39°)
OKLaboklab(28.13% 0.0643 -0.1086)
OKLCHoklch(28.13% 0.126 300.6)
XYZxyz(3.5703, 1.8712, 10.2962)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350F5C #365C0F
analogous
#0F105C #350F5C #5B0F5C
triadic
#350F5C #5C350F #0F5C35
tetradic
#350F5C #5C0F10 #365C0F #0F5C5B
square
#350F5C #5C0F10 #365C0F #0F5C5B
split-complementary
#350F5C #5C5B0F #105C0F
monochromatic
#0F041A #170627 #350F5C #531891 #7220C5

Accessibility & contrast

On white

15.28
#350F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#350F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #350F5C
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350F5C#FFFFFF#000000##FFFFFF
##350F5C1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#00255B
Tritanopia (blue-blind)
#2C2435
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #350f5c;
/* rgb */ color: rgb(53, 15, 92);
/* oklch */ color: oklch(28.1% 0.126 300.6);
Tailwind
colors: {
  custom: {
    50: '#71528b',
    500: '#350f5c',
    950: '#000000',
  },
}
SCSS
$custom: #350f5c;
$custom-light: #71528b;
$custom-dark: #000000;
JSON
{
  "hex": "#350f5c",
  "rgb": {
    "r": 53,
    "g": 15,
    "b": 92
  },
  "hsl": {
    "h": 269.61,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28128,
    "c": 0.12626,
    "h": 300.6
  },
  "luminance": 0.01871
}

Semantic roles & 50–950 ramp

primary
#350F5C
secondary
#649531
accent
#EF3995
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #350F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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