#341051#341051

#341051 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.112 H 305.2°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#341051
RGBrgb(52, 16, 81)
HSLhsl(273, 67%, 19%)
HSVhsv(273, 80%, 32%)
CMYKcmyk(35.8%, 80.2%, 0%, 68.2%)
CIE-LABlab(13.80, 31.09, -32.21)
CIE-LCHlch(13.80, 44.76, 313.98°)
OKLaboklab(27.08% 0.0646 -0.0916)
OKLCHoklch(27.08% 0.112 305.2)
XYZxyz(3.0863, 1.6947, 7.9475)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341051 #2D5110
analogous
#141051 #341051 #51104E
triadic
#341051 #513410 #105134
tetradic
#341051 #511410 #2D5110 #104E51
square
#341051 #511410 #2D5110 #104E51
split-complementary
#341051 #4E5110 #105114
monochromatic
#10051A #13061E #341051 #551A84 #7624B7

Accessibility & contrast

On white

15.68
#341051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341051
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341051#FFFFFF#000000##FFFFFF
##3410511.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002253
Deuteranopia (green-blind)
#002350
Tritanopia (blue-blind)
#2F202F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #341051;
/* rgb */ color: rgb(52, 16, 81);
/* oklch */ color: oklch(27.1% 0.112 305.2);
Tailwind
colors: {
  custom: {
    50: '#6f5282',
    500: '#341051',
    950: '#000000',
  },
}
SCSS
$custom: #341051;
$custom-light: #6f5282;
$custom-dark: #000000;
JSON
{
  "hex": "#341051",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 273.231,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27078,
    "c": 0.11214,
    "h": 305.2
  },
  "luminance": 0.01695
}

Semantic roles & 50–950 ramp

primary
#341051
secondary
#5A8B32
accent
#EA3E8B
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #341051

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

Preview Lab → · Contrast checker → · Palette generator →

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