#341983#341983

#341983 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.162 H 285.0°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#341983
RGBrgb(52, 25, 131)
HSLhsl(255, 68%, 31%)
HSVhsv(255, 81%, 51%)
CMYKcmyk(60.3%, 80.9%, 0%, 48.6%)
CIE-LABlab(20.30, 41.06, -54.33)
CIE-LCHlch(20.30, 68.11, 307.08°)
OKLaboklab(33.14% 0.042 -0.1565)
OKLCHoklch(33.14% 0.162 285)
XYZxyz(5.8593, 3.0637, 21.7509)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341983 #688319
analogous
#193383 #341983 #691983
triadic
#341983 #833419 #198334
tetradic
#341983 #831933 #688319 #198369
square
#341983 #831933 #688319 #198369
split-complementary
#341983 #836919 #338319
monochromatic
#0B051C #200F50 #341983 #4823B6 #653DDA

Accessibility & contrast

On white

13.02
#341983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#341983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341983
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341983#FFFFFF#000000##FFFFFF
##3419831.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#06384E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #341983;
/* rgb */ color: rgb(52, 25, 131);
/* oklch */ color: oklch(33.1% 0.162 285.0);
Tailwind
colors: {
  custom: {
    50: '#765aa8',
    500: '#341983',
    950: '#000000',
  },
}
SCSS
$custom: #341983;
$custom-light: #765aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#341983",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 255.283,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33143,
    "c": 0.16209,
    "h": 285
  },
  "luminance": 0.03064
}

Semantic roles & 50–950 ramp

primary
#341983
secondary
#99B741
accent
#EB3DBF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #341983

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

Preview Lab → · Contrast checker → · Palette generator →

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