#342153#342153

#342153 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.9% C 0.088 H 298.5°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#342153
RGBrgb(52, 33, 83)
HSLhsl(263, 43%, 23%)
HSVhsv(263, 60%, 33%)
CMYKcmyk(37.3%, 60.2%, 0%, 67.5%)
CIE-LABlab(17.66, 21.61, -27.34)
CIE-LCHlch(17.66, 34.85, 308.32°)
OKLaboklab(29.92% 0.042 -0.0774)
OKLCHoklch(29.92% 0.088 298.5)
XYZxyz(3.5210, 2.4423, 8.4678)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342153 #405321
analogous
#212753 #342153 #4D2153
triadic
#342153 #533421 #215334
tetradic
#342153 #532127 #405321 #21534D
square
#342153 #532127 #405321 #21534D
split-complementary
#342153 #534D21 #275321
monochromatic
#0E0916 #191027 #342153 #4F327F #6B44AB

Accessibility & contrast

On white

14.11
#342153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#342153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342153
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342153#FFFFFF#000000##FFFFFF
##3421531.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2B55
Deuteranopia (green-blind)
#122B52
Tritanopia (blue-blind)
#2D2B36
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #342153;
/* rgb */ color: rgb(52, 33, 83);
/* oklch */ color: oklch(29.9% 0.088 298.5);
Tailwind
colors: {
  custom: {
    50: '#6e5d84',
    500: '#342153',
    950: '#000000',
  },
}
SCSS
$custom: #342153;
$custom-light: #6e5d84;
$custom-dark: #000000;
JSON
{
  "hex": "#342153",
  "rgb": {
    "r": 52,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 262.8,
    "s": 43.103,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29919,
    "c": 0.08803,
    "h": 298.5
  },
  "luminance": 0.02442
}

Semantic roles & 50–950 ramp

primary
#342153
secondary
#6F8749
accent
#D355A3
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07040B
muted
#7A797C

Preview Lab

Preview with #342153

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

Preview Lab → · Contrast checker → · Palette generator →

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