#241265#241265

#241265 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.134 H 283.1°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#241265
RGBrgb(36, 18, 101)
HSLhsl(253, 70%, 23%)
HSVhsv(253, 82%, 40%)
CMYKcmyk(64.4%, 82.2%, 0%, 60.4%)
CIE-LABlab(14.10, 33.25, -45.24)
CIE-LCHlch(14.10, 56.14, 306.31°)
OKLaboklab(27.44% 0.0302 -0.1304)
OKLCHoklch(27.44% 0.134 283.1)
XYZxyz(3.2921, 1.7470, 12.4731)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241265 #536512
analogous
#122965 #241265 #4D1265
triadic
#241265 #652412 #126524
tetradic
#241265 #651229 #536512 #12654D
square
#241265 #651229 #536512 #12654D
split-complementary
#241265 #654D12 #296512
monochromatic
#09051A #110931 #241265 #371B99 #4925CD

Accessibility & contrast

On white

15.56
#241265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#241265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241265
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241265#FFFFFF#000000##FFFFFF
##2412651.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002667
Deuteranopia (green-blind)
#002164
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #241265;
/* rgb */ color: rgb(36, 18, 101);
/* oklch */ color: oklch(27.4% 0.134 283.1);
Tailwind
colors: {
  custom: {
    50: '#685392',
    500: '#241265',
    950: '#000000',
  },
}
SCSS
$custom: #241265;
$custom-light: #685392;
$custom-dark: #000000;
JSON
{
  "hex": "#241265",
  "rgb": {
    "r": 36,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 253.012,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27435,
    "c": 0.1339,
    "h": 283.1
  },
  "luminance": 0.01747
}

Semantic roles & 50–950 ramp

primary
#241265
secondary
#879D36
accent
#ED3BC6
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #241265

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

Preview Lab → · Contrast checker → · Palette generator →

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