#350C54#350C54

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

Color values

HEX#350C54
RGBrgb(53, 12, 84)
HSLhsl(274, 75%, 19%)
HSVhsv(274, 86%, 33%)
CMYKcmyk(36.9%, 85.7%, 0%, 67.1%)
CIE-LABlab(13.59, 33.90, -34.58)
CIE-LCHlch(13.59, 48.43, 314.42°)
OKLaboklab(27.05% 0.0695 -0.0985)
OKLCHoklch(27.05% 0.121 305.2)
XYZxyz(3.1995, 1.6599, 8.5376)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350C54 #2B540C
analogous
#110C54 #350C54 #540C4F
triadic
#350C54 #54350C #0C5435
tetradic
#350C54 #54110C #2B540C #0C4F54
square
#350C54 #54110C #2B540C #0C4F54
split-complementary
#350C54 #4F540C #0C5411
monochromatic
#11041B #13041E #350C54 #57148A #791BBF

Accessibility & contrast

On white

15.77
#350C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #350C54
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350C54#FFFFFF#000000##FFFFFF
##350C541.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002256
Deuteranopia (green-blind)
#002353
Tritanopia (blue-blind)
#2F1F30
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #350c54;
/* rgb */ color: rgb(53, 12, 84);
/* oklch */ color: oklch(27.1% 0.121 305.2);
Tailwind
colors: {
  custom: {
    50: '#705185',
    500: '#350c54',
    950: '#000000',
  },
}
SCSS
$custom: #350c54;
$custom-light: #705185;
$custom-dark: #000000;
JSON
{
  "hex": "#350c54",
  "rgb": {
    "r": 53,
    "g": 12,
    "b": 84
  },
  "hsl": {
    "h": 274.167,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27052,
    "c": 0.12058,
    "h": 305.2
  },
  "luminance": 0.0166
}

Semantic roles & 50–950 ramp

primary
#350C54
secondary
#578F2D
accent
#F23687
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #350C54

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

Preview Lab → · Contrast checker → · Palette generator →

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