#350C50#350C50

#350C50 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.7% C 0.116 H 307.4°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#350C50
RGBrgb(53, 12, 80)
HSLhsl(276, 74%, 18%)
HSVhsv(276, 85%, 31%)
CMYKcmyk(33.7%, 85%, 0%, 68.6%)
CIE-LABlab(13.22, 32.87, -32.45)
CIE-LCHlch(13.22, 46.19, 315.37°)
OKLaboklab(26.68% 0.0706 -0.0923)
OKLCHoklch(26.68% 0.116 307.4)
XYZxyz(3.0473, 1.5991, 7.7360)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350C50 #27500C
analogous
#130C50 #350C50 #500C49
triadic
#350C50 #50350C #0C5035
tetradic
#350C50 #50130C #27500C #0C4950
square
#350C50 #50130C #27500C #0C4950
split-complementary
#350C50 #49500C #0C5013
monochromatic
#12041B #12041B #350C50 #581485 #7C1CBA

Accessibility & contrast

On white

15.91
#350C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#350C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #350C50
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350C50#FFFFFF#000000##FFFFFF
##350C501.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002152
Deuteranopia (green-blind)
#00224F
Tritanopia (blue-blind)
#301D2E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #350c50;
/* rgb */ color: rgb(53, 12, 80);
/* oklch */ color: oklch(26.7% 0.116 307.4);
Tailwind
colors: {
  custom: {
    50: '#705082',
    500: '#350c50',
    950: '#000000',
  },
}
SCSS
$custom: #350c50;
$custom-light: #705082;
$custom-dark: #000000;
JSON
{
  "hex": "#350c50",
  "rgb": {
    "r": 53,
    "g": 12,
    "b": 80
  },
  "hsl": {
    "h": 276.176,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26681,
    "c": 0.1162,
    "h": 307.4
  },
  "luminance": 0.01599
}

Semantic roles & 50–950 ramp

primary
#350C50
secondary
#528B2C
accent
#F13781
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #350C50

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

Preview Lab → · Contrast checker → · Palette generator →

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