#350C52#350C52

#350C52 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.9% C 0.118 H 306.3°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#350C52
RGBrgb(53, 12, 82)
HSLhsl(275, 74%, 18%)
HSVhsv(275, 85%, 32%)
CMYKcmyk(35.4%, 85.4%, 0%, 67.8%)
CIE-LABlab(13.41, 33.38, -33.52)
CIE-LCHlch(13.41, 47.31, 314.88°)
OKLaboklab(26.87% 0.0701 -0.0954)
OKLCHoklch(26.87% 0.118 306.3)
XYZxyz(3.1223, 1.6291, 8.1310)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350C52 #29520C
analogous
#120C52 #350C52 #520C4C
triadic
#350C52 #52350C #0C5235
tetradic
#350C52 #52120C #29520C #0C4C52
square
#350C52 #52120C #29520C #0C4C52
split-complementary
#350C52 #4C520C #0C5212
monochromatic
#11041B #12041D #350C52 #581487 #7A1CBD

Accessibility & contrast

On white

15.84
#350C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#350C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #350C52
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350C52#FFFFFF#000000##FFFFFF
##350C521.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002154
Deuteranopia (green-blind)
#002351
Tritanopia (blue-blind)
#301E2F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #350c52;
/* rgb */ color: rgb(53, 12, 82);
/* oklch */ color: oklch(26.9% 0.118 306.3);
Tailwind
colors: {
  custom: {
    50: '#705083',
    500: '#350c52',
    950: '#000000',
  },
}
SCSS
$custom: #350c52;
$custom-light: #705083;
$custom-dark: #000000;
JSON
{
  "hex": "#350c52",
  "rgb": {
    "r": 53,
    "g": 12,
    "b": 82
  },
  "hsl": {
    "h": 275.143,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26865,
    "c": 0.11839,
    "h": 306.3
  },
  "luminance": 0.01629
}

Semantic roles & 50–950 ramp

primary
#350C52
secondary
#558D2C
accent
#F13784
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #350C52

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

Preview Lab → · Contrast checker → · Palette generator →

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