#341A61#341A61

#341A61 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.9% C 0.118 H 295.0°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#341A61
RGBrgb(52, 26, 97)
HSLhsl(262, 58%, 24%)
HSVhsv(262, 73%, 38%)
CMYKcmyk(46.4%, 73.2%, 0%, 62%)
CIE-LABlab(17.14, 30.24, -37.54)
CIE-LCHlch(17.14, 48.20, 308.85°)
OKLaboklab(29.9% 0.0501 -0.1073)
OKLCHoklch(29.9% 0.118 295)
XYZxyz(3.9427, 2.3318, 11.5493)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A61 #47611A
analogous
#1A2461 #341A61 #581A61
triadic
#341A61 #61341A #1A6134
tetradic
#341A61 #611A24 #47611A #1A6158
square
#341A61 #611A24 #47611A #1A6158
split-complementary
#341A61 #61581A #24611A
monochromatic
#0D0618 #1A0D31 #341A61 #4E2791 #6834C2

Accessibility & contrast

On white

14.32
#341A61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#341A61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A61
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A61#FFFFFF#000000##FFFFFF
##341A611.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B63
Deuteranopia (green-blind)
#002960
Tritanopia (blue-blind)
#282B3B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #341a61;
/* rgb */ color: rgb(52, 26, 97);
/* oklch */ color: oklch(29.9% 0.118 295.0);
Tailwind
colors: {
  custom: {
    50: '#70598f',
    500: '#341a61',
    950: '#000000',
  },
}
SCSS
$custom: #341a61;
$custom-light: #70598f;
$custom-dark: #000000;
JSON
{
  "hex": "#341a61",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 97
  },
  "hsl": {
    "h": 261.972,
    "s": 57.724,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29897,
    "c": 0.11845,
    "h": 295
  },
  "luminance": 0.02332
}

Semantic roles & 50–950 ramp

primary
#341A61
secondary
#779740
accent
#E147A9
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341A61

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

Preview Lab → · Contrast checker → · Palette generator →

#341A61 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva