#341246#341246

#341246 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.096 H 311.6°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#341246
RGBrgb(52, 18, 70)
HSLhsl(279, 59%, 17%)
HSVhsv(279, 74%, 27%)
CMYKcmyk(25.7%, 74.3%, 0%, 72.5%)
CIE-LABlab(13.26, 27.15, -25.48)
CIE-LCHlch(13.26, 37.24, 316.81°)
OKLaboklab(26.41% 0.0639 -0.0719)
OKLCHoklch(26.41% 0.096 311.6)
XYZxyz(2.7378, 1.6049, 5.9587)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341246 #244612
analogous
#1A1246 #341246 #46123E
triadic
#341246 #463412 #124634
tetradic
#341246 #461A12 #244612 #123E46
square
#341246 #461A12 #244612 #123E46
split-complementary
#341246 #3E4612 #12461A
monochromatic
#120618 #120618 #341246 #581F77 #7C2BA7

Accessibility & contrast

On white

15.90
#341246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#341246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341246
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341246#FFFFFF#000000##FFFFFF
##3412461.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#0D2345
Tritanopia (blue-blind)
#321D2A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #341246;
/* rgb */ color: rgb(52, 18, 70);
/* oklch */ color: oklch(26.4% 0.096 311.6);
Tailwind
colors: {
  custom: {
    50: '#6e537a',
    500: '#341246',
    950: '#000000',
  },
}
SCSS
$custom: #341246;
$custom-light: #6e537a;
$custom-dark: #000000;
JSON
{
  "hex": "#341246",
  "rgb": {
    "r": 52,
    "g": 18,
    "b": 70
  },
  "hsl": {
    "h": 279.231,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26409,
    "c": 0.09618,
    "h": 311.6
  },
  "luminance": 0.01605
}

Semantic roles & 50–950 ramp

primary
#341246
secondary
#4E7F35
accent
#E2467C
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #341246

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

Preview Lab → · Contrast checker → · Palette generator →

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