#241253#241253

#241253 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.110 H 288.7°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#241253
RGBrgb(36, 18, 83)
HSLhsl(257, 64%, 20%)
HSVhsv(257, 78%, 33%)
CMYKcmyk(56.6%, 78.3%, 0%, 67.5%)
CIE-LABlab(12.17, 27.37, -36.32)
CIE-LCHlch(12.17, 45.48, 307.00°)
OKLaboklab(25.49% 0.0354 -0.1044)
OKLCHoklch(25.49% 0.11 288.7)
XYZxyz(2.5047, 1.4321, 8.3264)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241253 #415312
analogous
#122153 #241253 #441253
triadic
#241253 #532412 #125324
tetradic
#241253 #531221 #415312 #125344
square
#241253 #531221 #415312 #125344
split-complementary
#241253 #534412 #215312
monochromatic
#0B0519 #0E0721 #241253 #3A1D85 #5028B8

Accessibility & contrast

On white

16.32
#241253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#241253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241253
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241253#FFFFFF#000000##FFFFFF
##2412531.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#001E52
Tritanopia (blue-blind)
#122331
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #241253;
/* rgb */ color: rgb(36, 18, 83);
/* oklch */ color: oklch(25.5% 0.110 288.7);
Tailwind
colors: {
  custom: {
    50: '#655284',
    500: '#241253',
    950: '#000000',
  },
}
SCSS
$custom: #241253;
$custom-light: #655284;
$custom-dark: #000000;
JSON
{
  "hex": "#241253",
  "rgb": {
    "r": 36,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 256.615,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25493,
    "c": 0.1102,
    "h": 288.7
  },
  "luminance": 0.01432
}

Semantic roles & 50–950 ramp

primary
#241253
secondary
#748C35
accent
#E740B9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #241253

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

Preview Lab → · Contrast checker → · Palette generator →

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