#241A4D#241A4D

#241A4D is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.3% C 0.090 H 287.6°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#241A4D
RGBrgb(36, 26, 77)
HSLhsl(252, 50%, 20%)
HSVhsv(252, 66%, 30%)
CMYKcmyk(53.2%, 66.2%, 0%, 69.8%)
CIE-LABlab(13.53, 20.14, -30.00)
CIE-LCHlch(13.53, 36.13, 303.87°)
OKLaboklab(26.3% 0.0272 -0.0858)
OKLCHoklch(26.3% 0.09 287.6)
XYZxyz(2.4361, 1.6496, 7.2098)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241A4D #434D1A
analogous
#1A294D #241A4D #3E1A4D
triadic
#241A4D #4D241A #1A4D24
tetradic
#241A4D #4D1A29 #434D1A #1A4D3E
square
#241A4D #4D1A29 #434D1A #1A4D3E
split-complementary
#241A4D #4D3E1A #294D1A
monochromatic
#0B0817 #0F0B1F #241A4D #39297B #4F39A9

Accessibility & contrast

On white

15.79
#241A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#241A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241A4D
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241A4D#FFFFFF#000000##FFFFFF
##241A4D1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#00214C
Tritanopia (blue-blind)
#162630
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #241a4d;
/* rgb */ color: rgb(36, 26, 77);
/* oklch */ color: oklch(26.3% 0.090 287.6);
Tailwind
colors: {
  custom: {
    50: '#63577f',
    500: '#241a4d',
    950: '#000000',
  },
}
SCSS
$custom: #241a4d;
$custom-light: #63577f;
$custom-dark: #000000;
JSON
{
  "hex": "#241a4d",
  "rgb": {
    "r": 36,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 251.765,
    "s": 49.515,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26301,
    "c": 0.08998,
    "h": 287.6
  },
  "luminance": 0.0165
}

Semantic roles & 50–950 ramp

primary
#241A4D
secondary
#768340
accent
#D94FBE
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05030A
muted
#7A787C

Preview Lab

Preview with #241A4D

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

Preview Lab → · Contrast checker → · Palette generator →

#241A4D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva