#261372#261372

#261372 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.149 H 281.1°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#261372
RGBrgb(38, 19, 114)
HSLhsl(252, 71%, 26%)
HSVhsv(252, 83%, 45%)
CMYKcmyk(66.7%, 83.3%, 0%, 55.3%)
CIE-LABlab(15.96, 37.13, -50.66)
CIE-LCHlch(15.96, 62.81, 306.24°)
OKLaboklab(29.23% 0.0287 -0.1462)
OKLCHoklch(29.23% 0.149 281.1)
XYZxyz(4.0685, 2.0924, 16.1058)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261372 #5F7213
analogous
#132F72 #261372 #551372
triadic
#261372 #722613 #137226
tetradic
#261372 #72132F #5F7213 #137255
square
#261372 #72132F #5F7213 #137255
split-complementary
#261372 #725513 #2F7213
monochromatic
#09041A #150A3E #261372 #371CA6 #4925DB

Accessibility & contrast

On white

14.80
#261372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#261372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261372
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261372#FFFFFF#000000##FFFFFF
##2613721.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #261372;
/* rgb */ color: rgb(38, 19, 114);
/* oklch */ color: oklch(29.2% 0.149 281.1);
Tailwind
colors: {
  custom: {
    50: '#6c549c',
    500: '#261372',
    950: '#000000',
  },
}
SCSS
$custom: #261372;
$custom-light: #6c549c;
$custom-dark: #000000;
JSON
{
  "hex": "#261372",
  "rgb": {
    "r": 38,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 252,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29225,
    "c": 0.14899,
    "h": 281.1
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#261372
secondary
#92A938
accent
#EE3ACA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #261372

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

Preview Lab → · Contrast checker → · Palette generator →

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