#241A4E#241A4E

#241A4E is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.4% C 0.092 H 287.2°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#241A4E
RGBrgb(36, 26, 78)
HSLhsl(252, 50%, 20%)
HSVhsv(252, 67%, 31%)
CMYKcmyk(53.8%, 66.7%, 0%, 69.4%)
CIE-LABlab(13.61, 20.49, -30.55)
CIE-LCHlch(13.61, 36.78, 303.85°)
OKLaboklab(26.39% 0.0271 -0.0874)
OKLCHoklch(26.39% 0.092 287.2)
XYZxyz(2.4717, 1.6638, 7.3972)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241A4E #444E1A
analogous
#1A2A4E #241A4E #3E1A4E
triadic
#241A4E #4E241A #1A4E24
tetradic
#241A4E #4E1A2A #444E1A #1A4E3E
square
#241A4E #4E1A2A #444E1A #1A4E3E
split-complementary
#241A4E #4E3E1A #2A4E1A
monochromatic
#0B0817 #0F0B20 #241A4E #39297C #4E39AA

Accessibility & contrast

On white

15.76
#241A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241A4E
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241A4E#FFFFFF#000000##FFFFFF
##241A4E1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#00214D
Tritanopia (blue-blind)
#152631
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #241a4e;
/* rgb */ color: rgb(36, 26, 78);
/* oklch */ color: oklch(26.4% 0.092 287.2);
Tailwind
colors: {
  custom: {
    50: '#635780',
    500: '#241a4e',
    950: '#000000',
  },
}
SCSS
$custom: #241a4e;
$custom-light: #635780;
$custom-dark: #000000;
JSON
{
  "hex": "#241a4e",
  "rgb": {
    "r": 36,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 251.538,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26389,
    "c": 0.09151,
    "h": 287.2
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#241A4E
secondary
#778440
accent
#DA4EBF
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05030A
muted
#7A787C

Preview Lab

Preview with #241A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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