#261237#261237

#261237 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.071 H 306.6°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#261237
RGBrgb(38, 18, 55)
HSLhsl(272, 51%, 14%)
HSVhsv(272, 67%, 22%)
CMYKcmyk(30.9%, 67.3%, 0%, 78.4%)
CIE-LABlab(9.96, 19.00, -20.26)
CIE-LCHlch(9.96, 27.78, 313.17°)
OKLaboklab(23.18% 0.0424 -0.0571)
OKLCHoklch(23.18% 0.071 306.6)
XYZxyz(1.7051, 1.1205, 3.7401)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261237 #233712
analogous
#141237 #261237 #371236
triadic
#261237 #372612 #123726
tetradic
#261237 #371412 #233712 #123637
square
#261237 #371412 #233712 #123637
split-complementary
#261237 #363712 #123714
monochromatic
#100817 #100817 #261237 #462165 #663093

Accessibility & contrast

On white

17.15
#261237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#261237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261237
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261237#FFFFFF#000000##FFFFFF
##2612371.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051B38
Deuteranopia (green-blind)
#0C1C36
Tritanopia (blue-blind)
#231922
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #261237;
/* rgb */ color: rgb(38, 18, 55);
/* oklch */ color: oklch(23.2% 0.071 306.6);
Tailwind
colors: {
  custom: {
    50: '#62516e',
    500: '#261237',
    950: '#000000',
  },
}
SCSS
$custom: #261237;
$custom-light: #62516e;
$custom-dark: #000000;
JSON
{
  "hex": "#261237",
  "rgb": {
    "r": 38,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 272.432,
    "s": 50.685,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23184,
    "c": 0.07112,
    "h": 306.6
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#261237
secondary
#507035
accent
#DA4E8E
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #261237

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

Preview Lab → · Contrast checker → · Palette generator →

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