#241263#241263

#241263 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.131 H 283.6°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#241263
RGBrgb(36, 18, 99)
HSLhsl(253, 69%, 23%)
HSVhsv(253, 82%, 39%)
CMYKcmyk(63.6%, 81.8%, 0%, 61.2%)
CIE-LABlab(13.88, 32.60, -44.28)
CIE-LCHlch(13.88, 54.99, 306.36°)
OKLaboklab(27.21% 0.0309 -0.1277)
OKLCHoklch(27.21% 0.131 283.6)
XYZxyz(3.1953, 1.7083, 11.9633)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241263 #516312
analogous
#122963 #241263 #4C1263
triadic
#241263 #632412 #126324
tetradic
#241263 #631229 #516312 #12634C
square
#241263 #631229 #516312 #12634C
split-complementary
#241263 #634C12 #296312
monochromatic
#09051A #11092F #241263 #371B97 #4A25CB

Accessibility & contrast

On white

15.65
#241263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#241263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##241263#FFFFFF#000000##FFFFFF
##2412631.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)
#002665
Deuteranopia (green-blind)
#002162
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #241263;
/* rgb */ color: rgb(36, 18, 99);
/* oklch */ color: oklch(27.2% 0.131 283.6);
Tailwind
colors: {
  custom: {
    50: '#685290',
    500: '#241263',
    950: '#000000',
  },
}
SCSS
$custom: #241263;
$custom-light: #685290;
$custom-dark: #000000;
JSON
{
  "hex": "#241263",
  "rgb": {
    "r": 36,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 253.333,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27212,
    "c": 0.13133,
    "h": 283.6
  },
  "luminance": 0.01709
}

Semantic roles & 50–950 ramp

primary
#241263
secondary
#859B36
accent
#EC3CC5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020D
muted
#7A787D

Preview Lab

Preview with #241263

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

Preview Lab → · Contrast checker → · Palette generator →

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