#1C0738#1C0738

#1C0738 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.088 H 297.3°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#1C0738
RGBrgb(28, 7, 56)
HSLhsl(266, 78%, 12%)
HSVhsv(266, 88%, 22%)
CMYKcmyk(50%, 87.5%, 0%, 78%)
CIE-LABlab(6.18, 22.99, -27.15)
CIE-LCHlch(6.18, 35.58, 310.26°)
OKLaboklab(20.05% 0.0405 -0.0785)
OKLCHoklch(20.05% 0.088 297.3)
XYZxyz(1.2685, 0.6843, 3.8059)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0738 #233807
analogous
#070B38 #1C0738 #350738
triadic
#1C0738 #381C07 #07381C
tetradic
#1C0738 #38070B #233807 #073835
square
#1C0738 #38070B #233807 #073835
split-complementary
#1C0738 #383507 #0B3807
monochromatic
#0E031B #0E031B #1C0738 #370E6E #5215A5

Accessibility & contrast

On white

18.47
#1C0738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1C0738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0738
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0738#FFFFFF#000000##FFFFFF
##1C07381.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001439
Deuteranopia (green-blind)
#001337
Tritanopia (blue-blind)
#15141F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1c0738;
/* rgb */ color: rgb(28, 7, 56);
/* oklch */ color: oklch(20.1% 0.088 297.3);
Tailwind
colors: {
  custom: {
    50: '#5c496f',
    500: '#1c0738',
    950: '#000000',
  },
}
SCSS
$custom: #1c0738;
$custom-light: #5c496f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0738",
  "rgb": {
    "r": 28,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 265.714,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20054,
    "c": 0.08833,
    "h": 297.3
  },
  "luminance": 0.00684
}

Semantic roles & 50–950 ramp

primary
#1C0738
secondary
#537823
accent
#F434A2
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1C0738

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

Preview Lab → · Contrast checker → · Palette generator →

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