#241850#241850

#241850 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.098 H 287.5°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#241850
RGBrgb(36, 24, 80)
HSLhsl(253, 54%, 20%)
HSVhsv(253, 70%, 31%)
CMYKcmyk(55%, 70%, 0%, 68.6%)
CIE-LABlab(13.28, 22.55, -32.47)
CIE-LCHlch(13.28, 39.53, 304.77°)
OKLaboklab(26.2% 0.0294 -0.0931)
OKLCHoklch(26.2% 0.098 287.5)
XYZxyz(2.5017, 1.6074, 7.7663)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241850 #445018
analogous
#182850 #241850 #401850
triadic
#241850 #502418 #185024
tetradic
#241850 #501828 #445018 #185040
square
#241850 #501828 #445018 #185040
split-complementary
#241850 #504018 #285018
monochromatic
#0B0718 #0F0A21 #241850 #39267F #4E34AE

Accessibility & contrast

On white

15.89
#241850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#241850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241850
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241850#FFFFFF#000000##FFFFFF
##2418501.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#00214F
Tritanopia (blue-blind)
#142631
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #241850;
/* rgb */ color: rgb(36, 24, 80);
/* oklch */ color: oklch(26.2% 0.098 287.5);
Tailwind
colors: {
  custom: {
    50: '#645582',
    500: '#241850',
    950: '#000000',
  },
}
SCSS
$custom: #241850;
$custom-light: #645582;
$custom-dark: #000000;
JSON
{
  "hex": "#241850",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 252.857,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26198,
    "c": 0.09759,
    "h": 287.5
  },
  "luminance": 0.01608
}

Semantic roles & 50–950 ramp

primary
#241850
secondary
#77873D
accent
#DD4BBE
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030A
muted
#7A787C

Preview Lab

Preview with #241850

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

Preview Lab → · Contrast checker → · Palette generator →

#241850 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva