#341050#341050

#341050 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.111 H 305.8°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#341050
RGBrgb(52, 16, 80)
HSLhsl(274, 67%, 19%)
HSVhsv(274, 80%, 31%)
CMYKcmyk(35%, 80%, 0%, 68.6%)
CIE-LABlab(13.71, 30.82, -31.67)
CIE-LCHlch(13.71, 44.19, 314.22°)
OKLaboklab(26.99% 0.0649 -0.09)
OKLCHoklch(26.99% 0.111 305.8)
XYZxyz(3.0491, 1.6799, 7.7515)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341050 #2C5010
analogous
#141050 #341050 #50104C
triadic
#341050 #503410 #105034
tetradic
#341050 #501410 #2C5010 #104C50
square
#341050 #501410 #2C5010 #104C50
split-complementary
#341050 #4C5010 #105014
monochromatic
#11051A #13061D #341050 #551A83 #7624B6

Accessibility & contrast

On white

15.72
#341050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#341050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341050
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341050#FFFFFF#000000##FFFFFF
##3410501.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#00234F
Tritanopia (blue-blind)
#2F1F2F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #341050;
/* rgb */ color: rgb(52, 16, 80);
/* oklch */ color: oklch(27.0% 0.111 305.8);
Tailwind
colors: {
  custom: {
    50: '#6f5282',
    500: '#341050',
    950: '#000000',
  },
}
SCSS
$custom: #341050;
$custom-light: #6f5282;
$custom-dark: #000000;
JSON
{
  "hex": "#341050",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 273.75,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26989,
    "c": 0.11097,
    "h": 305.8
  },
  "luminance": 0.0168
}

Semantic roles & 50–950 ramp

primary
#341050
secondary
#588A32
accent
#EA3E89
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #341050

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

Preview Lab → · Contrast checker → · Palette generator →

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