#341853#341853

#341853 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.4% C 0.103 H 302.0°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#341853
RGBrgb(52, 24, 83)
HSLhsl(268, 55%, 21%)
HSVhsv(268, 71%, 33%)
CMYKcmyk(37.3%, 71.1%, 0%, 67.5%)
CIE-LABlab(15.53, 27.28, -30.77)
CIE-LCHlch(15.53, 41.12, 311.56°)
OKLaboklab(28.37% 0.0546 -0.0874)
OKLCHoklch(28.37% 0.103 302)
XYZxyz(3.3038, 2.0079, 8.3954)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341853 #375318
analogous
#181953 #341853 #511853
triadic
#341853 #533418 #185334
tetradic
#341853 #531819 #375318 #185351
square
#341853 #531819 #375318 #185351
split-complementary
#341853 #535118 #195318
monochromatic
#0F0718 #160A24 #341853 #522682 #6F33B2

Accessibility & contrast

On white

14.98
#341853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#341853 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341853
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341853#FFFFFF#000000##FFFFFF
##3418531.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#022752
Tritanopia (blue-blind)
#2E2533
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #341853;
/* rgb */ color: rgb(52, 24, 83);
/* oklch */ color: oklch(28.4% 0.103 302.0);
Tailwind
colors: {
  custom: {
    50: '#6e5784',
    500: '#341853',
    950: '#000000',
  },
}
SCSS
$custom: #341853;
$custom-light: #6e5784;
$custom-dark: #000000;
JSON
{
  "hex": "#341853",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 83
  },
  "hsl": {
    "h": 268.475,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28368,
    "c": 0.10308,
    "h": 302
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#341853
secondary
#658A3D
accent
#DE4998
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #341853

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

Preview Lab → · Contrast checker → · Palette generator →

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