#341153#341153

#341153 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.4% C 0.113 H 303.9°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#341153
RGBrgb(52, 17, 83)
HSLhsl(272, 66%, 20%)
HSVhsv(272, 80%, 33%)
CMYKcmyk(37.3%, 79.5%, 0%, 67.5%)
CIE-LABlab(14.15, 31.13, -33.00)
CIE-LCHlch(14.15, 45.37, 313.32°)
OKLaboklab(27.38% 0.0631 -0.094)
OKLCHoklch(27.38% 0.113 303.9)
XYZxyz(3.1776, 1.7555, 8.3534)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341153 #305311
analogous
#131153 #341153 #531151
triadic
#341153 #533411 #115334
tetradic
#341153 #531311 #305311 #115153
square
#341153 #531311 #305311 #115153
split-complementary
#341153 #515311 #115313
monochromatic
#100519 #140720 #341153 #541B86 #7426B9

Accessibility & contrast

On white

15.54
#341153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#341153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341153
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341153#FFFFFF#000000##FFFFFF
##3411531.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#2E2131
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #341153;
/* rgb */ color: rgb(52, 17, 83);
/* oklch */ color: oklch(27.4% 0.113 303.9);
Tailwind
colors: {
  custom: {
    50: '#6f5384',
    500: '#341153',
    950: '#000000',
  },
}
SCSS
$custom: #341153;
$custom-light: #6f5384;
$custom-dark: #000000;
JSON
{
  "hex": "#341153",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 83
  },
  "hsl": {
    "h": 271.818,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27382,
    "c": 0.11318,
    "h": 303.9
  },
  "luminance": 0.01755
}

Semantic roles & 50–950 ramp

primary
#341153
secondary
#5D8C34
accent
#E93F8F
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #341153

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

Preview Lab → · Contrast checker → · Palette generator →

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