#341057#341057

#341057 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.6% C 0.119 H 302.0°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#341057
RGBrgb(52, 16, 87)
HSLhsl(270, 69%, 20%)
HSVhsv(270, 82%, 34%)
CMYKcmyk(40.2%, 81.6%, 0%, 65.9%)
CIE-LABlab(14.34, 32.70, -35.41)
CIE-LCHlch(14.34, 48.20, 312.72°)
OKLaboklab(27.63% 0.0632 -0.101)
OKLCHoklch(27.63% 0.119 302)
XYZxyz(3.3214, 1.7888, 9.1853)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341057 #335710
analogous
#111057 #341057 #571056
triadic
#341057 #573410 #105734
tetradic
#341057 #571110 #335710 #105657
square
#341057 #571110 #335710 #105657
split-complementary
#341057 #565710 #105711
monochromatic
#0F051A #150623 #341057 #531A8B #7223BE

Accessibility & contrast

On white

15.47
#341057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341057
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341057#FFFFFF#000000##FFFFFF
##3410571.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#002456
Tritanopia (blue-blind)
#2C2233
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #341057;
/* rgb */ color: rgb(52, 16, 87);
/* oklch */ color: oklch(27.6% 0.119 302.0);
Tailwind
colors: {
  custom: {
    50: '#705287',
    500: '#341057',
    950: '#000000',
  },
}
SCSS
$custom: #341057;
$custom-light: #705287;
$custom-dark: #000000;
JSON
{
  "hex": "#341057",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 87
  },
  "hsl": {
    "h": 270.423,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27628,
    "c": 0.11915,
    "h": 302
  },
  "luminance": 0.01789
}

Semantic roles & 50–950 ramp

primary
#341057
secondary
#619032
accent
#EC3C93
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #341057

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

Preview Lab → · Contrast checker → · Palette generator →

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