#1E0635#1E0635

#1E0635 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.087 H 302.5°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#1E0635
RGBrgb(30, 6, 53)
HSLhsl(271, 80%, 12%)
HSVhsv(271, 89%, 21%)
CMYKcmyk(43.4%, 88.7%, 0%, 79.2%)
CIE-LABlab(5.99, 23.01, -25.25)
CIE-LCHlch(5.99, 34.16, 312.34°)
OKLaboklab(19.87% 0.0464 -0.073)
OKLCHoklch(19.87% 0.087 302.5)
XYZxyz(1.2430, 0.6633, 3.4300)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E0635 #1D3506
analogous
#060635 #1E0635 #350635
triadic
#1E0635 #351E06 #06351E
tetradic
#1E0635 #350606 #1D3506 #063535
square
#1E0635 #350606 #1D3506 #063535
split-complementary
#1E0635 #353506 #063506
monochromatic
#10031B #10031B #1E0635 #3D0C6C #5C12A3

Accessibility & contrast

On white

18.54
#1E0635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1E0635 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E0635
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E0635#FFFFFF#000000##FFFFFF
##1E06351.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001336
Deuteranopia (green-blind)
#001334
Tritanopia (blue-blind)
#19121D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1e0635;
/* rgb */ color: rgb(30, 6, 53);
/* oklch */ color: oklch(19.9% 0.087 302.5);
Tailwind
colors: {
  custom: {
    50: '#5c496d',
    500: '#1e0635',
    950: '#000000',
  },
}
SCSS
$custom: #1e0635;
$custom-light: #5c496d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e0635",
  "rgb": {
    "r": 30,
    "g": 6,
    "b": 53
  },
  "hsl": {
    "h": 270.638,
    "s": 79.661,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19868,
    "c": 0.08651,
    "h": 302.5
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#1E0635
secondary
#4B7521
accent
#F63292
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040107
muted
#79777A

Preview Lab

Preview with #1E0635

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

Preview Lab → · Contrast checker → · Palette generator →

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