#351249#351249

#351249 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.8% C 0.100 H 310.6°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#351249
RGBrgb(53, 18, 73)
HSLhsl(278, 60%, 18%)
HSVhsv(278, 75%, 29%)
CMYKcmyk(27.4%, 75.3%, 0%, 71.4%)
CIE-LABlab(13.65, 28.18, -26.93)
CIE-LCHlch(13.65, 38.98, 316.31°)
OKLaboklab(26.8% 0.0652 -0.0761)
OKLCHoklch(26.8% 0.1 310.6)
XYZxyz(2.8869, 1.6706, 6.4724)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351249 #264912
analogous
#191249 #351249 #491241
triadic
#351249 #493512 #124935
tetradic
#351249 #491912 #264912 #124149
square
#351249 #491912 #264912 #124149
split-complementary
#351249 #414912 #124919
monochromatic
#120619 #120619 #351249 #591E7A #7C2AAB

Accessibility & contrast

On white

15.74
#351249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#351249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351249
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351249#FFFFFF#000000##FFFFFF
##3512491.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214B
Deuteranopia (green-blind)
#0A2348
Tritanopia (blue-blind)
#321E2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #351249;
/* rgb */ color: rgb(53, 18, 73);
/* oklch */ color: oklch(26.8% 0.100 310.6);
Tailwind
colors: {
  custom: {
    50: '#6f537c',
    500: '#351249',
    950: '#000000',
  },
}
SCSS
$custom: #351249;
$custom-light: #6f537c;
$custom-dark: #000000;
JSON
{
  "hex": "#351249",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 278.182,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.268,
    "c": 0.10016,
    "h": 310.6
  },
  "luminance": 0.01671
}

Semantic roles & 50–950 ramp

primary
#351249
secondary
#518235
accent
#E4447E
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #351249

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

Preview Lab → · Contrast checker → · Palette generator →

#351249 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva