#350F5B#350F5B

#350F5B is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.0% C 0.125 H 301.1°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#350F5B
RGBrgb(53, 15, 91)
HSLhsl(270, 72%, 21%)
HSVhsv(270, 84%, 36%)
CMYKcmyk(41.8%, 83.5%, 0%, 64.3%)
CIE-LABlab(14.70, 34.44, -37.51)
CIE-LCHlch(14.70, 50.92, 312.56°)
OKLaboklab(28.03% 0.0646 -0.1071)
OKLCHoklch(28.03% 0.125 301.1)
XYZxyz(3.5269, 1.8538, 10.0675)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350F5B #355B0F
analogous
#0F0F5B #350F5B #5B0F5B
triadic
#350F5B #5B350F #0F5B35
tetradic
#350F5B #5B0F0F #355B0F #0F5B5B
square
#350F5B #5B0F0F #355B0F #0F5B5B
split-complementary
#350F5B #5B5B0F #0F5B0F
monochromatic
#0F041A #160626 #350F5B #541890 #7220C4

Accessibility & contrast

On white

15.32
#350F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #350F5B
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350F5B#FFFFFF#000000##FFFFFF
##350F5B1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#2C2335
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #350f5b;
/* rgb */ color: rgb(53, 15, 91);
/* oklch */ color: oklch(28.0% 0.125 301.1);
Tailwind
colors: {
  custom: {
    50: '#71528a',
    500: '#350f5b',
    950: '#000000',
  },
}
SCSS
$custom: #350f5b;
$custom-light: #71528a;
$custom-dark: #000000;
JSON
{
  "hex": "#350f5b",
  "rgb": {
    "r": 53,
    "g": 15,
    "b": 91
  },
  "hsl": {
    "h": 270,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28032,
    "c": 0.12512,
    "h": 301.1
  },
  "luminance": 0.01854
}

Semantic roles & 50–950 ramp

primary
#350F5B
secondary
#639531
accent
#EE3994
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #350F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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