#351148#351148

#351148 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.101 H 311.5°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#351148
RGBrgb(53, 17, 72)
HSLhsl(279, 62%, 17%)
HSVhsv(279, 76%, 28%)
CMYKcmyk(26.4%, 76.4%, 0%, 71.8%)
CIE-LABlab(13.39, 28.46, -26.67)
CIE-LCHlch(13.39, 39.00, 316.86°)
OKLaboklab(26.58% 0.0666 -0.0753)
OKLCHoklch(26.58% 0.101 311.5)
XYZxyz(2.8381, 1.6257, 6.2939)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351148 #244811
analogous
#1A1148 #351148 #48113F
triadic
#351148 #483511 #114835
tetradic
#351148 #481A11 #244811 #113F48
square
#351148 #481A11 #244811 #113F48
split-complementary
#351148 #3F4811 #11481A
monochromatic
#120619 #120619 #351148 #591D7A #7E28AB

Accessibility & contrast

On white

15.85
#351148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351148
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351148#FFFFFF#000000##FFFFFF
##3511481.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#0A2347
Tritanopia (blue-blind)
#331D2B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #351148;
/* rgb */ color: rgb(53, 17, 72);
/* oklch */ color: oklch(26.6% 0.101 311.5);
Tailwind
colors: {
  custom: {
    50: '#6f527b',
    500: '#351148',
    950: '#000000',
  },
}
SCSS
$custom: #351148;
$custom-light: #6f527b;
$custom-dark: #000000;
JSON
{
  "hex": "#351148",
  "rgb": {
    "r": 53,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 279.273,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26583,
    "c": 0.1005,
    "h": 311.5
  },
  "luminance": 0.01626
}

Semantic roles & 50–950 ramp

primary
#351148
secondary
#4E8233
accent
#E5437B
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #351148

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

Preview Lab → · Contrast checker → · Palette generator →

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