#350E52#350E52

#350E52 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.116 H 305.9°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#350E52
RGBrgb(53, 14, 82)
HSLhsl(274, 71%, 19%)
HSVhsv(274, 83%, 32%)
CMYKcmyk(35.4%, 82.9%, 0%, 67.8%)
CIE-LABlab(13.71, 32.51, -33.03)
CIE-LCHlch(13.71, 46.34, 314.55°)
OKLaboklab(27.08% 0.0681 -0.094)
OKLCHoklch(27.08% 0.116 305.9)
XYZxyz(3.1479, 1.6802, 8.1395)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350E52 #2B520E
analogous
#130E52 #350E52 #520E4D
triadic
#350E52 #52350E #0E5235
tetradic
#350E52 #52130E #2B520E #0E4D52
square
#350E52 #52130E #2B520E #0E4D52
split-complementary
#350E52 #4D520E #0E5213
monochromatic
#11041A #13051E #350E52 #571786 #7920BB

Accessibility & contrast

On white

15.72
#350E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#350E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #350E52
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350E52#FFFFFF#000000##FFFFFF
##350E521.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#002351
Tritanopia (blue-blind)
#301F2F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #350e52;
/* rgb */ color: rgb(53, 14, 82);
/* oklch */ color: oklch(27.1% 0.116 305.9);
Tailwind
colors: {
  custom: {
    50: '#705183',
    500: '#350e52',
    950: '#000000',
  },
}
SCSS
$custom: #350e52;
$custom-light: #705183;
$custom-dark: #000000;
JSON
{
  "hex": "#350e52",
  "rgb": {
    "r": 53,
    "g": 14,
    "b": 82
  },
  "hsl": {
    "h": 274.412,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27079,
    "c": 0.11607,
    "h": 305.9
  },
  "luminance": 0.0168
}

Semantic roles & 50–950 ramp

primary
#350E52
secondary
#578C2F
accent
#EE3A87
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #350E52

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

Preview Lab → · Contrast checker → · Palette generator →

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