#341083#341083

#341083 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.2% C 0.170 H 286.2°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#341083
RGBrgb(52, 16, 131)
HSLhsl(259, 78%, 29%)
HSVhsv(259, 88%, 51%)
CMYKcmyk(60.3%, 87.8%, 0%, 48.6%)
CIE-LABlab(18.97, 44.96, -56.53)
CIE-LCHlch(18.97, 72.23, 308.49°)
OKLaboklab(32.23% 0.0473 -0.1628)
OKLCHoklch(32.23% 0.17 286.2)
XYZxyz(5.6970, 2.7390, 21.6968)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341083 #5F8310
analogous
#102583 #341083 #6E1083
triadic
#341083 #833410 #108334
tetradic
#341083 #831025 #5F8310 #10836E
square
#341083 #831025 #5F8310 #10836E
split-complementary
#341083 #836E10 #258310
monochromatic
#0B031B #1E094C #341083 #4A17BA #6429E5

Accessibility & contrast

On white

13.57
#341083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#341083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341083
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341083#FFFFFF#000000##FFFFFF
##3410831.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002B81
Tritanopia (blue-blind)
#07354C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #341083;
/* rgb */ color: rgb(52, 16, 131);
/* oklch */ color: oklch(32.2% 0.170 286.2);
Tailwind
colors: {
  custom: {
    50: '#7756a8',
    500: '#341083',
    950: '#000000',
  },
}
SCSS
$custom: #341083;
$custom-light: #7756a8;
$custom-dark: #000000;
JSON
{
  "hex": "#341083",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 258.783,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32226,
    "c": 0.16956,
    "h": 286.2
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#341083
secondary
#90B936
accent
#F533B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #341083

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

Preview Lab → · Contrast checker → · Palette generator →

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