#241B4E#241B4E

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

Color values

HEX#241B4E
RGBrgb(36, 27, 78)
HSLhsl(251, 49%, 21%)
HSVhsv(251, 65%, 31%)
CMYKcmyk(53.8%, 65.4%, 0%, 69.4%)
CIE-LABlab(13.88, 19.79, -30.12)
CIE-LCHlch(13.88, 36.04, 303.31°)
OKLaboklab(26.58% 0.0258 -0.0861)
OKLCHoklch(26.58% 0.09 286.7)
XYZxyz(2.4942, 1.7089, 7.4047)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B4E #454E1B
analogous
#1B2B4E #241B4E #3D1B4E
triadic
#241B4E #4E241B #1B4E24
tetradic
#241B4E #4E1B2B #454E1B #1B4E3D
square
#241B4E #4E1B2B #454E1B #1B4E3D
split-complementary
#241B4E #4E3D1B #2B4E1B
monochromatic
#0A0817 #0F0B21 #241B4E #392B7B #4E3AA9

Accessibility & contrast

On white

15.65
#241B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#241B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241B4E
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B4E#FFFFFF#000000##FFFFFF
##241B4E1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#00224D
Tritanopia (blue-blind)
#152731
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #241b4e;
/* rgb */ color: rgb(36, 27, 78);
/* oklch */ color: oklch(26.6% 0.090 286.7);
Tailwind
colors: {
  custom: {
    50: '#635780',
    500: '#241b4e',
    950: '#000000',
  },
}
SCSS
$custom: #241b4e;
$custom-light: #635780;
$custom-dark: #000000;
JSON
{
  "hex": "#241b4e",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 250.588,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26584,
    "c": 0.08993,
    "h": 286.7
  },
  "luminance": 0.01709
}

Semantic roles & 50–950 ramp

primary
#241B4E
secondary
#788441
accent
#D850C0
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05030A
muted
#7A787C

Preview Lab

Preview with #241B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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