#350B56#350B56

#350B56 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.1% C 0.124 H 304.3°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#350B56
RGBrgb(53, 11, 86)
HSLhsl(274, 77%, 19%)
HSVhsv(274, 87%, 34%)
CMYKcmyk(38.4%, 87.2%, 0%, 66.3%)
CIE-LABlab(13.64, 34.82, -35.86)
CIE-LCHlch(13.64, 49.99, 314.15°)
OKLaboklab(27.14% 0.0698 -0.1023)
OKLCHoklch(27.14% 0.124 304.3)
XYZxyz(3.2672, 1.6681, 8.9522)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350B56 #2C560B
analogous
#100B56 #350B56 #560B52
triadic
#350B56 #56350B #0B5635
tetradic
#350B56 #56100B #2C560B #0B5256
square
#350B56 #56100B #2C560B #0B5256
split-complementary
#350B56 #52560B #0B5610
monochromatic
#11031B #140420 #350B56 #56128C #7819C3

Accessibility & contrast

On white

15.75
#350B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #350B56
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350B56#FFFFFF#000000##FFFFFF
##350B561.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002258
Deuteranopia (green-blind)
#002355
Tritanopia (blue-blind)
#2E1F31
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #350b56;
/* rgb */ color: rgb(53, 11, 86);
/* oklch */ color: oklch(27.1% 0.124 304.3);
Tailwind
colors: {
  custom: {
    50: '#715086',
    500: '#350b56',
    950: '#000000',
  },
}
SCSS
$custom: #350b56;
$custom-light: #715086;
$custom-dark: #000000;
JSON
{
  "hex": "#350b56",
  "rgb": {
    "r": 53,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 273.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27144,
    "c": 0.1238,
    "h": 304.3
  },
  "luminance": 0.01668
}

Semantic roles & 50–950 ramp

primary
#350B56
secondary
#58912B
accent
#F43488
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #350B56

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

Preview Lab → · Contrast checker → · Palette generator →

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