#341235#341235

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

Color values

HEX#341235
RGBrgb(52, 18, 53)
HSLhsl(298, 49%, 14%)
HSVhsv(298, 66%, 21%)
CMYKcmyk(1.9%, 66%, 0%, 79.2%)
CIE-LABlab(12.09, 23.02, -15.29)
CIE-LCHlch(12.09, 27.64, 326.40°)
OKLaboklab(25.18% 0.0636 -0.0422)
OKLCHoklch(25.18% 0.076 326.4)
XYZxyz(2.2750, 1.4199, 3.5217)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341235 #133512
analogous
#231235 #341235 #351225
triadic
#341235 #353412 #123534
tetradic
#341235 #352312 #133512 #122535
square
#341235 #352312 #133512 #122535
split-complementary
#341235 #253512 #123523
monochromatic
#160817 #160817 #341235 #612263 #8E3190

Accessibility & contrast

On white

16.36
#341235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#341235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341235
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341235#FFFFFF#000000##FFFFFF
##3412351.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1D36
Deuteranopia (green-blind)
#192134
Tritanopia (blue-blind)
#361621
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #341235;
/* rgb */ color: rgb(52, 18, 53);
/* oklch */ color: oklch(25.2% 0.076 326.4);
Tailwind
colors: {
  custom: {
    50: '#6d526c',
    500: '#341235',
    950: '#000000',
  },
}
SCSS
$custom: #341235;
$custom-light: #6d526c;
$custom-dark: #000000;
JSON
{
  "hex": "#341235",
  "rgb": {
    "r": 52,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 298.286,
    "s": 49.296,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25183,
    "c": 0.07629,
    "h": 326.4
  },
  "luminance": 0.0142
}

Semantic roles & 50–950 ramp

primary
#341235
secondary
#376D35
accent
#D94F53
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070207
muted
#7A787A

Preview Lab

Preview with #341235

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

Preview Lab → · Contrast checker → · Palette generator →

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