#351245#351245

#351245 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.095 H 313.4°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#351245
RGBrgb(53, 18, 69)
HSLhsl(281, 59%, 17%)
HSVhsv(281, 74%, 27%)
CMYKcmyk(23.2%, 73.9%, 0%, 72.9%)
CIE-LABlab(13.35, 27.16, -24.64)
CIE-LCHlch(13.35, 36.67, 317.79°)
OKLaboklab(26.48% 0.0655 -0.0694)
OKLCHoklch(26.48% 0.095 313.4)
XYZxyz(2.7585, 1.6192, 5.7963)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351245 #224512
analogous
#1B1245 #351245 #45123C
triadic
#351245 #453512 #124535
tetradic
#351245 #451B12 #224512 #123C45
square
#351245 #451B12 #224512 #123C45
split-complementary
#351245 #3C4512 #12451B
monochromatic
#130618 #130618 #351245 #5A1F76 #802BA6

Accessibility & contrast

On white

15.86
#351245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#351245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351245
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351245#FFFFFF#000000##FFFFFF
##3512451.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002047
Deuteranopia (green-blind)
#0F2344
Tritanopia (blue-blind)
#331C29
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #351245;
/* rgb */ color: rgb(53, 18, 69);
/* oklch */ color: oklch(26.5% 0.095 313.4);
Tailwind
colors: {
  custom: {
    50: '#6e5379',
    500: '#351245',
    950: '#000000',
  },
}
SCSS
$custom: #351245;
$custom-light: #6e5379;
$custom-dark: #000000;
JSON
{
  "hex": "#351245",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 281.176,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26482,
    "c": 0.09541,
    "h": 313.4
  },
  "luminance": 0.01619
}

Semantic roles & 50–950 ramp

primary
#351245
secondary
#4C7E35
accent
#E24677
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #351245

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

Preview Lab → · Contrast checker → · Palette generator →

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