#1C0B4D#1C0B4D

#1C0B4D is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.111 H 285.4°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#1C0B4D
RGBrgb(28, 11, 77)
HSLhsl(255, 75%, 17%)
HSVhsv(255, 86%, 30%)
CMYKcmyk(63.6%, 85.7%, 0%, 69.8%)
CIE-LABlab(9.17, 28.09, -37.16)
CIE-LCHlch(9.17, 46.58, 307.09°)
OKLaboklab(22.97% 0.0296 -0.107)
OKLCHoklch(22.97% 0.111 285.4)
XYZxyz(1.9377, 1.0219, 7.1149)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C0B4D #3C4D0B
analogous
#0B1B4D #1C0B4D #3D0B4D
triadic
#1C0B4D #4D1C0B #0B4D1C
tetradic
#1C0B4D #4D0B1B #3C4D0B #0B4D3D
square
#1C0B4D #4D0B1B #3C4D0B #0B4D3D
split-complementary
#1C0B4D #4D3D0B #1B4D0B
monochromatic
#0A041B #0A041B #1C0B4D #2F1383 #431AB8

Accessibility & contrast

On white

17.44
#1C0B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#1C0B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C0B4D
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C0B4D#FFFFFF#000000##FFFFFF
##1C0B4D1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4F
Deuteranopia (green-blind)
#00184C
Tritanopia (blue-blind)
#031E2C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1c0b4d;
/* rgb */ color: rgb(28, 11, 77);
/* oklch */ color: oklch(23.0% 0.111 285.4);
Tailwind
colors: {
  custom: {
    50: '#604c80',
    500: '#1c0b4d',
    950: '#000000',
  },
}
SCSS
$custom: #1c0b4d;
$custom-light: #604c80;
$custom-dark: #000000;
JSON
{
  "hex": "#1c0b4d",
  "rgb": {
    "r": 28,
    "g": 11,
    "b": 77
  },
  "hsl": {
    "h": 255.455,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22965,
    "c": 0.11104,
    "h": 285.4
  },
  "luminance": 0.01022
}

Semantic roles & 50–950 ramp

primary
#1C0B4D
secondary
#71892B
accent
#F236C1
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1C0B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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