#350F5A#350F5A

#350F5A is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.124 H 301.6°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#350F5A
RGBrgb(53, 15, 90)
HSLhsl(270, 71%, 21%)
HSVhsv(270, 83%, 35%)
CMYKcmyk(41.1%, 83.3%, 0%, 64.7%)
CIE-LABlab(14.61, 34.17, -36.99)
CIE-LCHlch(14.61, 50.36, 312.73°)
OKLaboklab(27.94% 0.0649 -0.1056)
OKLCHoklch(27.94% 0.124 301.6)
XYZxyz(3.4840, 1.8367, 9.8418)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350F5A #345A0F
analogous
#0F0F5A #350F5A #5A0F59
triadic
#350F5A #5A350F #0F5A35
tetradic
#350F5A #5A0F0F #345A0F #0F595A
square
#350F5A #5A0F0F #345A0F #0F595A
split-complementary
#350F5A #595A0F #0F5A0F
monochromatic
#0F041A #160626 #350F5A #54188E #7320C3

Accessibility & contrast

On white

15.36
#350F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #350F5A
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350F5A#FFFFFF#000000##FFFFFF
##350F5A1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245C
Deuteranopia (green-blind)
#002459
Tritanopia (blue-blind)
#2D2334
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #350f5a;
/* rgb */ color: rgb(53, 15, 90);
/* oklch */ color: oklch(27.9% 0.124 301.6);
Tailwind
colors: {
  custom: {
    50: '#715289',
    500: '#350f5a',
    950: '#000000',
  },
}
SCSS
$custom: #350f5a;
$custom-light: #715289;
$custom-dark: #000000;
JSON
{
  "hex": "#350f5a",
  "rgb": {
    "r": 53,
    "g": 15,
    "b": 90
  },
  "hsl": {
    "h": 270.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27936,
    "c": 0.12398,
    "h": 301.6
  },
  "luminance": 0.01837
}

Semantic roles & 50–950 ramp

primary
#350F5A
secondary
#629431
accent
#EE3A93
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #350F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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