#351234#351234

#351234 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.3% C 0.076 H 328.6°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#351234
RGBrgb(53, 18, 52)
HSLhsl(302, 49%, 14%)
HSVhsv(302, 66%, 21%)
CMYKcmyk(0%, 66%, 1.9%, 79.2%)
CIE-LABlab(12.21, 23.14, -14.38)
CIE-LCHlch(12.21, 27.24, 328.14°)
OKLaboklab(25.28% 0.0648 -0.0395)
OKLCHoklch(25.28% 0.076 328.6)
XYZxyz(2.3043, 1.4376, 3.4043)
Luminance0.0144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351234 #123513
analogous
#251235 #351234 #351223
triadic
#351234 #343512 #123435
tetradic
#351234 #352512 #123513 #122335
square
#351234 #352512 #123513 #122335
split-complementary
#351234 #233512 #123525
monochromatic
#170816 #170816 #351234 #632261 #90318E

Accessibility & contrast

On white

16.31
#351234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#351234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351234
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351234#FFFFFF#000000##FFFFFF
##3512341.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1D35
Deuteranopia (green-blind)
#1A2233
Tritanopia (blue-blind)
#371620
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #351234;
/* rgb */ color: rgb(53, 18, 52);
/* oklch */ color: oklch(25.3% 0.076 328.6);
Tailwind
colors: {
  custom: {
    50: '#6e526b',
    500: '#351234',
    950: '#000000',
  },
}
SCSS
$custom: #351234;
$custom-light: #6e526b;
$custom-dark: #000000;
JSON
{
  "hex": "#351234",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 52
  },
  "hsl": {
    "h": 301.714,
    "s": 49.296,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25284,
    "c": 0.07593,
    "h": 328.6
  },
  "luminance": 0.01437
}

Semantic roles & 50–950 ramp

primary
#351234
secondary
#356D37
accent
#D9534F
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #351234

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

Preview Lab → · Contrast checker → · Palette generator →

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