#341154#341154

#341154 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.114 H 303.3°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#341154
RGBrgb(52, 17, 84)
HSLhsl(271, 66%, 20%)
HSVhsv(271, 80%, 33%)
CMYKcmyk(38.1%, 79.8%, 0%, 67.1%)
CIE-LABlab(14.24, 31.40, -33.54)
CIE-LCHlch(14.24, 45.94, 313.11°)
OKLaboklab(27.47% 0.0629 -0.0955)
OKLCHoklch(27.47% 0.114 303.3)
XYZxyz(3.2165, 1.7711, 8.5582)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341154 #315411
analogous
#121154 #341154 #541153
triadic
#341154 #543411 #115434
tetradic
#341154 #541211 #315411 #115354
square
#341154 #541211 #315411 #115354
split-complementary
#341154 #535411 #115412
monochromatic
#100519 #140721 #341154 #541B87 #7326BA

Accessibility & contrast

On white

15.51
#341154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341154
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341154#FFFFFF#000000##FFFFFF
##3411541.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#002453
Tritanopia (blue-blind)
#2E2231
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #341154;
/* rgb */ color: rgb(52, 17, 84);
/* oklch */ color: oklch(27.5% 0.114 303.3);
Tailwind
colors: {
  custom: {
    50: '#6f5385',
    500: '#341154',
    950: '#000000',
  },
}
SCSS
$custom: #341154;
$custom-light: #6f5385;
$custom-dark: #000000;
JSON
{
  "hex": "#341154",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 271.343,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27473,
    "c": 0.11436,
    "h": 303.3
  },
  "luminance": 0.01771
}

Semantic roles & 50–950 ramp

primary
#341154
secondary
#5E8D34
accent
#E93F90
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #341154

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

Preview Lab → · Contrast checker → · Palette generator →

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