#341A6E#341A6E

#341A6E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.135 H 290.5°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#341A6E
RGBrgb(52, 26, 110)
HSLhsl(259, 62%, 27%)
HSVhsv(259, 76%, 43%)
CMYKcmyk(52.7%, 76.4%, 0%, 56.9%)
CIE-LABlab(18.34, 34.18, -44.10)
CIE-LCHlch(18.34, 55.80, 307.78°)
OKLaboklab(31.12% 0.0473 -0.1266)
OKLCHoklch(31.12% 0.135 290.5)
XYZxyz(4.5992, 2.5945, 15.0073)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A6E #546E1A
analogous
#1A2A6E #341A6E #5E1A6E
triadic
#341A6E #6E341A #1A6E34
tetradic
#341A6E #6E1A2A #546E1A #1A6E5E
square
#341A6E #6E1A2A #546E1A #1A6E5E
split-complementary
#341A6E #6E5E1A #2A6E1A
monochromatic
#0C0619 #1D0E3D #341A6E #4B26A0 #6434CF

Accessibility & contrast

On white

13.82
#341A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#341A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A6E
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A6E#FFFFFF#000000##FFFFFF
##341A6E1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#002B6C
Tritanopia (blue-blind)
#203042
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #341a6e;
/* rgb */ color: rgb(52, 26, 110);
/* oklch */ color: oklch(31.1% 0.135 290.5);
Tailwind
colors: {
  custom: {
    50: '#725998',
    500: '#341a6e',
    950: '#000000',
  },
}
SCSS
$custom: #341a6e;
$custom-light: #725998;
$custom-dark: #000000;
JSON
{
  "hex": "#341a6e",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 110
  },
  "hsl": {
    "h": 258.571,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31123,
    "c": 0.13516,
    "h": 290.5
  },
  "luminance": 0.02595
}

Semantic roles & 50–950 ramp

primary
#341A6E
secondary
#85A341
accent
#E543B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #341A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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