#350B52#350B52

#350B52 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.8% C 0.119 H 306.5°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#350B52
RGBrgb(53, 11, 82)
HSLhsl(275, 76%, 18%)
HSVhsv(275, 87%, 32%)
CMYKcmyk(35.4%, 86.6%, 0%, 67.8%)
CIE-LABlab(13.26, 33.80, -33.75)
CIE-LCHlch(13.26, 47.76, 315.04°)
OKLaboklab(26.77% 0.071 -0.0961)
OKLCHoklch(26.77% 0.119 306.5)
XYZxyz(3.1105, 1.6055, 8.1270)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350B52 #28520B
analogous
#110B52 #350B52 #520B4B
triadic
#350B52 #52350B #0B5235
tetradic
#350B52 #52110B #28520B #0B4B52
square
#350B52 #52110B #28520B #0B4B52
split-complementary
#350B52 #4B520B #0B5211
monochromatic
#11041B #12041C #350B52 #581288 #7B19BE

Accessibility & contrast

On white

15.90
#350B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #350B52
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350B52#FFFFFF#000000##FFFFFF
##350B521.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #350b52;
/* rgb */ color: rgb(53, 11, 82);
/* oklch */ color: oklch(26.8% 0.119 306.5);
Tailwind
colors: {
  custom: {
    50: '#705083',
    500: '#350b52',
    950: '#000000',
  },
}
SCSS
$custom: #350b52;
$custom-light: #705083;
$custom-dark: #000000;
JSON
{
  "hex": "#350b52",
  "rgb": {
    "r": 53,
    "g": 11,
    "b": 82
  },
  "hsl": {
    "h": 275.493,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26766,
    "c": 0.11947,
    "h": 306.5
  },
  "luminance": 0.01605
}

Semantic roles & 50–950 ramp

primary
#350B52
secondary
#538E2B
accent
#F33583
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #350B52

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

Preview Lab → · Contrast checker → · Palette generator →

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