#350E54#350E54

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

Color values

HEX#350E54
RGBrgb(53, 14, 84)
HSLhsl(273, 71%, 19%)
HSVhsv(273, 83%, 33%)
CMYKcmyk(36.9%, 83.3%, 0%, 67.1%)
CIE-LABlab(13.89, 33.03, -34.09)
CIE-LCHlch(13.89, 47.47, 314.09°)
OKLaboklab(27.26% 0.0676 -0.0971)
OKLCHoklch(27.26% 0.118 304.8)
XYZxyz(3.2251, 1.7111, 8.5462)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350E54 #2D540E
analogous
#120E54 #350E54 #540E50
triadic
#350E54 #54350E #0E5435
tetradic
#350E54 #54120E #2D540E #0E5054
square
#350E54 #54120E #2D540E #0E5054
split-complementary
#350E54 #50540E #0E5412
monochromatic
#11041A #140520 #350E54 #561788 #771FBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##350E54#FFFFFF#000000##FFFFFF
##350E541.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)
#002256
Deuteranopia (green-blind)
#002353
Tritanopia (blue-blind)
#2F2031
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #350e54;
/* rgb */ color: rgb(53, 14, 84);
/* oklch */ color: oklch(27.3% 0.118 304.8);
Tailwind
colors: {
  custom: {
    50: '#705185',
    500: '#350e54',
    950: '#000000',
  },
}
SCSS
$custom: #350e54;
$custom-light: #705185;
$custom-dark: #000000;
JSON
{
  "hex": "#350e54",
  "rgb": {
    "r": 53,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 273.429,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27262,
    "c": 0.11832,
    "h": 304.8
  },
  "luminance": 0.01711
}

Semantic roles & 50–950 ramp

primary
#350E54
secondary
#598E2F
accent
#EE3A8A
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #350E54

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

Preview Lab → · Contrast checker → · Palette generator →

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