#1E0843#1E0843

#1E0843 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.101 H 292.8°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#1E0843
RGBrgb(30, 8, 67)
HSLhsl(262, 79%, 15%)
HSVhsv(262, 88%, 26%)
CMYKcmyk(55.2%, 88.1%, 0%, 73.7%)
CIE-LABlab(7.72, 26.82, -32.53)
CIE-LCHlch(7.72, 42.16, 309.51°)
OKLaboklab(21.67% 0.0393 -0.0934)
OKLCHoklch(21.67% 0.101 292.8)
XYZxyz(1.6351, 0.8549, 5.3880)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0843 #2D4308
analogous
#080F43 #1E0843 #3C0843
triadic
#1E0843 #431E08 #08431E
tetradic
#1E0843 #43080F #2D4308 #08433C
square
#1E0843 #43080F #2D4308 #08433C
split-complementary
#1E0843 #433C08 #0F4308
monochromatic
#0C031B #0C031B #1E0843 #360F7A #4F15B0

Accessibility & contrast

On white

17.93
#1E0843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1E0843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0843
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0843#FFFFFF#000000##FFFFFF
##1E08431.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001845
Deuteranopia (green-blind)
#001642
Tritanopia (blue-blind)
#121925
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1e0843;
/* rgb */ color: rgb(30, 8, 67);
/* oklch */ color: oklch(21.7% 0.101 292.8);
Tailwind
colors: {
  custom: {
    50: '#5f4a78',
    500: '#1e0843',
    950: '#000000',
  },
}
SCSS
$custom: #1e0843;
$custom-light: #5f4a78;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0843",
  "rgb": {
    "r": 30,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 262.373,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21669,
    "c": 0.10133,
    "h": 292.8
  },
  "luminance": 0.00855
}

Semantic roles & 50–950 ramp

primary
#1E0843
secondary
#5F8125
accent
#F533AD
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1E0843

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

Preview Lab → · Contrast checker → · Palette generator →

#1E0843 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva