#1E125A#1E125A

#1E125A is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.6% C 0.120 H 281.3°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#1E125A
RGBrgb(30, 18, 90)
HSLhsl(250, 67%, 21%)
HSVhsv(250, 80%, 35%)
CMYKcmyk(66.7%, 80%, 0%, 64.7%)
CIE-LABlab(12.26, 28.76, -40.94)
CIE-LCHlch(12.26, 50.03, 305.09°)
OKLaboklab(25.63% 0.0237 -0.1181)
OKLCHoklch(25.63% 0.12 281.3)
XYZxyz(2.5966, 1.4466, 9.8133)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E125A #4E5A12
analogous
#122A5A #1E125A #42125A
triadic
#1E125A #5A1E12 #125A1E
tetradic
#1E125A #5A122A #4E5A12 #125A42
square
#1E125A #5A122A #4E5A12 #125A42
split-complementary
#1E125A #5A4212 #2A5A12
monochromatic
#08051A #0D0827 #1E125A #2F1C8D #4026C0

Accessibility & contrast

On white

16.29
#1E125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1E125A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E125A
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E125A#FFFFFF#000000##FFFFFF
##1E125A1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225C
Deuteranopia (green-blind)
#001D59
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1e125a;
/* rgb */ color: rgb(30, 18, 90);
/* oklch */ color: oklch(25.6% 0.120 281.3);
Tailwind
colors: {
  custom: {
    50: '#635189',
    500: '#1e125a',
    950: '#000000',
  },
}
SCSS
$custom: #1e125a;
$custom-light: #635189;
$custom-dark: #000000;
JSON
{
  "hex": "#1e125a",
  "rgb": {
    "r": 30,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 250,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2563,
    "c": 0.12043,
    "h": 281.3
  },
  "luminance": 0.01447
}

Semantic roles & 50–950 ramp

primary
#1E125A
secondary
#839335
accent
#EA3ECD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1E125A

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

Preview Lab → · Contrast checker → · Palette generator →

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