#341883#341883

#341883 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.163 H 285.2°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#341883
RGBrgb(52, 24, 131)
HSLhsl(256, 69%, 30%)
HSVhsv(256, 82%, 51%)
CMYKcmyk(60.3%, 81.7%, 0%, 48.6%)
CIE-LABlab(20.13, 41.55, -54.61)
CIE-LCHlch(20.13, 68.62, 307.26°)
OKLaboklab(33.03% 0.0427 -0.1573)
OKLCHoklch(33.03% 0.163 285.2)
XYZxyz(5.8383, 3.0217, 21.7439)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341883 #678318
analogous
#183183 #341883 #691883
triadic
#341883 #833418 #188334
tetradic
#341883 #831831 #678318 #188369
square
#341883 #831831 #678318 #188369
split-complementary
#341883 #836918 #318318
monochromatic
#0B051C #1F0F4F #341883 #4921B7 #643ADB

Accessibility & contrast

On white

13.09
#341883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#341883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341883
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341883#FFFFFF#000000##FFFFFF
##3418831.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341883;
/* rgb */ color: rgb(52, 24, 131);
/* oklch */ color: oklch(33.0% 0.163 285.2);
Tailwind
colors: {
  custom: {
    50: '#7659a8',
    500: '#341883',
    950: '#000000',
  },
}
SCSS
$custom: #341883;
$custom-light: #7659a8;
$custom-dark: #000000;
JSON
{
  "hex": "#341883",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 255.701,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33027,
    "c": 0.16302,
    "h": 285.2
  },
  "luminance": 0.03022
}

Semantic roles & 50–950 ramp

primary
#341883
secondary
#98B740
accent
#EC3CBE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #341883

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

Preview Lab → · Contrast checker → · Palette generator →

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