#341B61#341B61

#341B61 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.0% C 0.117 H 294.7°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#341B61
RGBrgb(52, 27, 97)
HSLhsl(261, 56%, 24%)
HSVhsv(261, 72%, 38%)
CMYKcmyk(46.4%, 72.2%, 0%, 62%)
CIE-LABlab(17.35, 29.65, -37.19)
CIE-LCHlch(17.35, 47.56, 308.57°)
OKLaboklab(30.05% 0.0489 -0.1063)
OKLCHoklch(30.05% 0.117 294.7)
XYZxyz(3.9652, 2.3769, 11.5568)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341B61 #48611B
analogous
#1B2561 #341B61 #571B61
triadic
#341B61 #61341B #1B6134
tetradic
#341B61 #611B25 #48611B #1B6157
square
#341B61 #611B25 #48611B #1B6157
split-complementary
#341B61 #61571B #25611B
monochromatic
#0D0718 #1A0E31 #341B61 #4E2891 #6736C1

Accessibility & contrast

On white

14.23
#341B61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#341B61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341B61
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341B61#FFFFFF#000000##FFFFFF
##341B611.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341b61;
/* rgb */ color: rgb(52, 27, 97);
/* oklch */ color: oklch(30.0% 0.117 294.7);
Tailwind
colors: {
  custom: {
    50: '#70598e',
    500: '#341b61',
    950: '#000000',
  },
}
SCSS
$custom: #341b61;
$custom-light: #70598e;
$custom-dark: #000000;
JSON
{
  "hex": "#341b61",
  "rgb": {
    "r": 52,
    "g": 27,
    "b": 97
  },
  "hsl": {
    "h": 261.429,
    "s": 56.452,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30049,
    "c": 0.11705,
    "h": 294.7
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#341B61
secondary
#789741
accent
#E048AA
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341B61

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

Preview Lab → · Contrast checker → · Palette generator →

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