#341350#341350

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

Color values

HEX#341350
RGBrgb(52, 19, 80)
HSLhsl(272, 62%, 19%)
HSVhsv(272, 76%, 31%)
CMYKcmyk(35%, 76.3%, 0%, 68.6%)
CIE-LABlab(14.26, 29.27, -30.78)
CIE-LCHlch(14.26, 42.47, 313.56°)
OKLaboklab(27.38% 0.0614 -0.0874)
OKLCHoklch(27.38% 0.107 305.1)
XYZxyz(3.0967, 1.7750, 7.7673)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341350 #2F5013
analogous
#161350 #341350 #50134E
triadic
#341350 #503413 #135034
tetradic
#341350 #501613 #2F5013 #134E50
square
#341350 #501613 #2F5013 #134E50
split-complementary
#341350 #4E5013 #135016
monochromatic
#100619 #14071F #341350 #541F81 #742AB3

Accessibility & contrast

On white

15.50
#341350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#341350 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341350
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341350#FFFFFF#000000##FFFFFF
##3413501.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#00244F
Tritanopia (blue-blind)
#2F2130
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #341350;
/* rgb */ color: rgb(52, 19, 80);
/* oklch */ color: oklch(27.4% 0.107 305.1);
Tailwind
colors: {
  custom: {
    50: '#6f5482',
    500: '#341350',
    950: '#000000',
  },
}
SCSS
$custom: #341350;
$custom-light: #6f5482;
$custom-dark: #000000;
JSON
{
  "hex": "#341350",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 80
  },
  "hsl": {
    "h": 272.459,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2738,
    "c": 0.10681,
    "h": 305.1
  },
  "luminance": 0.01775
}

Semantic roles & 50–950 ramp

primary
#341350
secondary
#5C8936
accent
#E5438D
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07030A
muted
#7A787C

Preview Lab

Preview with #341350

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

Preview Lab → · Contrast checker → · Palette generator →

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