#241A40#241A40

#241A40 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.2% C 0.070 H 292.9°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#241A40
RGBrgb(36, 26, 64)
HSLhsl(256, 42%, 18%)
HSVhsv(256, 59%, 25%)
CMYKcmyk(43.8%, 59.4%, 0%, 74.9%)
CIE-LABlab(12.51, 15.67, -22.61)
CIE-LCHlch(12.51, 27.51, 304.73°)
OKLaboklab(25.22% 0.027 -0.0641)
OKLCHoklch(25.22% 0.07 292.9)
XYZxyz(2.0221, 1.4840, 5.0294)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241A40 #36401A
analogous
#1A2340 #241A40 #371A40
triadic
#241A40 #40241A #1A4024
tetradic
#241A40 #401A23 #36401A #1A4037
square
#241A40 #401A23 #36401A #1A4037
split-complementary
#241A40 #40371A #23401A
monochromatic
#0C0916 #0C0916 #241A40 #3C2C6C #553D97

Accessibility & contrast

On white

16.19
#241A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#241A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241A40
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241A40#FFFFFF#000000##FFFFFF
##241A401.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2141
Deuteranopia (green-blind)
#0C203F
Tritanopia (blue-blind)
#1D222A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #241a40;
/* rgb */ color: rgb(36, 26, 64);
/* oklch */ color: oklch(25.2% 0.070 292.9);
Tailwind
colors: {
  custom: {
    50: '#615675',
    500: '#241a40',
    950: '#000000',
  },
}
SCSS
$custom: #241a40;
$custom-light: #615675;
$custom-dark: #000000;
JSON
{
  "hex": "#241a40",
  "rgb": {
    "r": 36,
    "g": 26,
    "b": 64
  },
  "hsl": {
    "h": 255.789,
    "s": 42.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.25219,
    "c": 0.06953,
    "h": 292.9
  },
  "luminance": 0.01484
}

Semantic roles & 50–950 ramp

primary
#241A40
secondary
#687640
accent
#D256B1
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050308
muted
#79787B

Preview Lab

Preview with #241A40

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

Preview Lab → · Contrast checker → · Palette generator →

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