#341B63#341B63

#341B63 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.2% C 0.120 H 294.0°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#341B63
RGBrgb(52, 27, 99)
HSLhsl(261, 57%, 25%)
HSVhsv(261, 73%, 39%)
CMYKcmyk(47.5%, 72.7%, 0%, 61.2%)
CIE-LABlab(17.53, 30.26, -38.23)
CIE-LCHlch(17.53, 48.75, 308.36°)
OKLaboklab(30.23% 0.0486 -0.1094)
OKLCHoklch(30.23% 0.12 294)
XYZxyz(4.0596, 2.4147, 12.0541)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341B63 #4A631B
analogous
#1B2663 #341B63 #581B63
triadic
#341B63 #63341B #1B6334
tetradic
#341B63 #631B26 #4A631B #1B6358
square
#341B63 #631B26 #4A631B #1B6358
split-complementary
#341B63 #63581B #26631B
monochromatic
#0D0718 #1B0E33 #341B63 #4D2893 #6735C3

Accessibility & contrast

On white

14.16
#341B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341B63
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341B63#FFFFFF#000000##FFFFFF
##341B631.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#272D3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341b63;
/* rgb */ color: rgb(52, 27, 99);
/* oklch */ color: oklch(30.2% 0.120 294.0);
Tailwind
colors: {
  custom: {
    50: '#705990',
    500: '#341b63',
    950: '#000000',
  },
}
SCSS
$custom: #341b63;
$custom-light: #705990;
$custom-dark: #000000;
JSON
{
  "hex": "#341b63",
  "rgb": {
    "r": 52,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 260.833,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3023,
    "c": 0.11968,
    "h": 294
  },
  "luminance": 0.02415
}

Semantic roles & 50–950 ramp

primary
#341B63
secondary
#7A9841
accent
#E047AB
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #341B63

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

Preview Lab → · Contrast checker → · Palette generator →

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