#341055#341055

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

Color values

HEX#341055
RGBrgb(52, 16, 85)
HSLhsl(271, 68%, 20%)
HSVhsv(271, 81%, 33%)
CMYKcmyk(38.8%, 81.2%, 0%, 66.7%)
CIE-LABlab(14.15, 32.16, -34.35)
CIE-LCHlch(14.15, 47.06, 313.11°)
OKLaboklab(27.44% 0.0637 -0.0979)
OKLCHoklch(27.44% 0.117 303)
XYZxyz(3.2408, 1.7565, 8.7609)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341055 #315510
analogous
#111055 #341055 #551054
triadic
#341055 #553410 #105534
tetradic
#341055 #551110 #315510 #105455
square
#341055 #551110 #315510 #105455
split-complementary
#341055 #545510 #105511
monochromatic
#10051A #140621 #341055 #541A89 #7323BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##341055#FFFFFF#000000##FFFFFF
##3410551.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)
#002357
Deuteranopia (green-blind)
#002454
Tritanopia (blue-blind)
#2D2132
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #341055;
/* rgb */ color: rgb(52, 16, 85);
/* oklch */ color: oklch(27.4% 0.117 303.0);
Tailwind
colors: {
  custom: {
    50: '#6f5285',
    500: '#341055',
    950: '#000000',
  },
}
SCSS
$custom: #341055;
$custom-light: #6f5285;
$custom-dark: #000000;
JSON
{
  "hex": "#341055",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 271.304,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27442,
    "c": 0.11682,
    "h": 303
  },
  "luminance": 0.01757
}

Semantic roles & 50–950 ramp

primary
#341055
secondary
#5E8F32
accent
#EB3D90
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #341055

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

Preview Lab → · Contrast checker → · Palette generator →

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