#1E124E#1E124E

#1E124E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.3% C 0.104 H 284.8°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#1E124E
RGBrgb(30, 18, 78)
HSLhsl(252, 63%, 19%)
HSVhsv(252, 77%, 31%)
CMYKcmyk(61.5%, 76.9%, 0%, 69.4%)
CIE-LABlab(10.98, 24.58, -34.86)
CIE-LCHlch(10.98, 42.66, 305.19°)
OKLaboklab(24.33% 0.0266 -0.1003)
OKLCHoklch(24.33% 0.104 284.8)
XYZxyz(2.1265, 1.2586, 7.3371)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E124E #424E12
analogous
#12244E #1E124E #3C124E
triadic
#1E124E #4E1E12 #124E1E
tetradic
#1E124E #4E1224 #424E12 #124E3C
square
#1E124E #4E1224 #424E12 #124E3C
split-complementary
#1E124E #4E3C12 #244E12
monochromatic
#0A0619 #0B071C #1E124E #311D80 #4429B1

Accessibility & contrast

On white

16.78
#1E124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1E124E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E124E
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E124E#FFFFFF#000000##FFFFFF
##1E124E1.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F50
Deuteranopia (green-blind)
#001C4D
Tritanopia (blue-blind)
#07222E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1e124e;
/* rgb */ color: rgb(30, 18, 78);
/* oklch */ color: oklch(24.3% 0.104 284.8);
Tailwind
colors: {
  custom: {
    50: '#605180',
    500: '#1e124e',
    950: '#000000',
  },
}
SCSS
$custom: #1e124e;
$custom-light: #605180;
$custom-dark: #000000;
JSON
{
  "hex": "#1e124e",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 252,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2433,
    "c": 0.10377,
    "h": 284.8
  },
  "luminance": 0.01259
}

Semantic roles & 50–950 ramp

primary
#1E124E
secondary
#778735
accent
#E642C5
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1E124E

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

Preview Lab → · Contrast checker → · Palette generator →

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