#350E56#350E56

#350E56 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.121 H 303.8°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#350E56
RGBrgb(53, 14, 86)
HSLhsl(273, 72%, 20%)
HSVhsv(273, 84%, 34%)
CMYKcmyk(38.4%, 83.7%, 0%, 66.3%)
CIE-LABlab(14.08, 33.55, -35.15)
CIE-LCHlch(14.08, 48.60, 313.67°)
OKLaboklab(27.45% 0.0671 -0.1002)
OKLCHoklch(27.45% 0.121 303.8)
XYZxyz(3.3046, 1.7429, 8.9646)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350E56 #2F560E
analogous
#110E56 #350E56 #560E53
triadic
#350E56 #56350E #0E5635
tetradic
#350E56 #56110E #2F560E #0E5356
square
#350E56 #56110E #2F560E #0E5356
split-complementary
#350E56 #53560E #0E5611
monochromatic
#10041A #150521 #350E56 #55178B #761FBF

Accessibility & contrast

On white

15.57
#350E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#350E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #350E56
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350E56#FFFFFF#000000##FFFFFF
##350E561.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#2E2132
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #350e56;
/* rgb */ color: rgb(53, 14, 86);
/* oklch */ color: oklch(27.4% 0.121 303.8);
Tailwind
colors: {
  custom: {
    50: '#705286',
    500: '#350e56',
    950: '#000000',
  },
}
SCSS
$custom: #350e56;
$custom-light: #705286;
$custom-dark: #000000;
JSON
{
  "hex": "#350e56",
  "rgb": {
    "r": 53,
    "g": 14,
    "b": 86
  },
  "hsl": {
    "h": 272.5,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27449,
    "c": 0.12058,
    "h": 303.8
  },
  "luminance": 0.01743
}

Semantic roles & 50–950 ramp

primary
#350E56
secondary
#5C9030
accent
#EF398C
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #350E56

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

Preview Lab → · Contrast checker → · Palette generator →

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