#341363#341363

#341363 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.130 H 296.0°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#341363
RGBrgb(52, 19, 99)
HSLhsl(265, 68%, 23%)
HSVhsv(265, 81%, 39%)
CMYKcmyk(47.5%, 80.8%, 0%, 61.2%)
CIE-LABlab(15.99, 34.59, -40.74)
CIE-LCHlch(15.99, 53.45, 310.33°)
OKLaboklab(29.14% 0.0569 -0.1167)
OKLCHoklch(29.14% 0.13 296)
XYZxyz(3.9006, 2.0966, 12.0011)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341363 #426313
analogous
#131A63 #341363 #5C1363
triadic
#341363 #633413 #136334
tetradic
#341363 #63131A #426313 #13635C
square
#341363 #63131A #426313 #13635C
split-complementary
#341363 #635C13 #1A6313
monochromatic
#0D051A #190930 #341363 #4F1D96 #6A27CA

Accessibility & contrast

On white

14.79
#341363 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#341363 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341363
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341363#FFFFFF#000000##FFFFFF
##3413631.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002761
Tritanopia (blue-blind)
#27293A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #341363;
/* rgb */ color: rgb(52, 19, 99);
/* oklch */ color: oklch(29.1% 0.130 296.0);
Tailwind
colors: {
  custom: {
    50: '#715590',
    500: '#341363',
    950: '#000000',
  },
}
SCSS
$custom: #341363;
$custom-light: #715590;
$custom-dark: #000000;
JSON
{
  "hex": "#341363",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 99
  },
  "hsl": {
    "h": 264.75,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29138,
    "c": 0.12983,
    "h": 296
  },
  "luminance": 0.02097
}

Semantic roles & 50–950 ramp

primary
#341363
secondary
#729B37
accent
#EB3DA3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #341363

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

Preview Lab → · Contrast checker → · Palette generator →

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