#350F52#350F52

#350F52 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.2% C 0.115 H 305.7°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#350F52
RGBrgb(53, 15, 82)
HSLhsl(274, 69%, 19%)
HSVhsv(274, 82%, 32%)
CMYKcmyk(35.4%, 81.7%, 0%, 67.8%)
CIE-LABlab(13.87, 32.04, -32.76)
CIE-LCHlch(13.87, 45.83, 314.36°)
OKLaboklab(27.19% 0.0671 -0.0932)
OKLCHoklch(27.19% 0.115 305.7)
XYZxyz(3.1617, 1.7078, 8.1441)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350F52 #2C520F
analogous
#140F52 #350F52 #520F4E
triadic
#350F52 #52350F #0F5235
tetradic
#350F52 #52140F #2C520F #0F4E52
square
#350F52 #52140F #2C520F #0F4E52
split-complementary
#350F52 #4E520F #0F5214
monochromatic
#11051A #14061E #350F52 #561886 #7822B9

Accessibility & contrast

On white

15.65
#350F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #350F52
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350F52#FFFFFF#000000##FFFFFF
##350F521.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #350f52;
/* rgb */ color: rgb(53, 15, 82);
/* oklch */ color: oklch(27.2% 0.115 305.7);
Tailwind
colors: {
  custom: {
    50: '#705283',
    500: '#350f52',
    950: '#000000',
  },
}
SCSS
$custom: #350f52;
$custom-light: #705283;
$custom-dark: #000000;
JSON
{
  "hex": "#350f52",
  "rgb": {
    "r": 53,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 274.03,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27193,
    "c": 0.11484,
    "h": 305.7
  },
  "luminance": 0.01708
}

Semantic roles & 50–950 ramp

primary
#350F52
secondary
#588C31
accent
#EC3C88
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #350F52

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

Preview Lab → · Contrast checker → · Palette generator →

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