#251367#251367

#251367 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.135 H 283.1°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#251367
RGBrgb(37, 19, 103)
HSLhsl(253, 69%, 24%)
HSVhsv(253, 82%, 40%)
CMYKcmyk(64.1%, 81.6%, 0%, 59.6%)
CIE-LABlab(14.61, 33.49, -45.71)
CIE-LCHlch(14.61, 56.66, 306.23°)
OKLaboklab(27.89% 0.0306 -0.1318)
OKLCHoklch(27.89% 0.135 283.1)
XYZxyz(3.4432, 1.8381, 13.0027)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251367 #556713
analogous
#132B67 #251367 #4F1367
triadic
#251367 #672513 #136725
tetradic
#251367 #67132B #556713 #13674F
square
#251367 #67132B #556713 #13674F
split-complementary
#251367 #674F13 #2B6713
monochromatic
#09051A #120933 #251367 #381D9B #4A26CE

Accessibility & contrast

On white

15.36
#251367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#251367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251367
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251367#FFFFFF#000000##FFFFFF
##2513671.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002769
Deuteranopia (green-blind)
#002265
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #251367;
/* rgb */ color: rgb(37, 19, 103);
/* oklch */ color: oklch(27.9% 0.135 283.1);
Tailwind
colors: {
  custom: {
    50: '#695393',
    500: '#251367',
    950: '#000000',
  },
}
SCSS
$custom: #251367;
$custom-light: #695393;
$custom-dark: #000000;
JSON
{
  "hex": "#251367",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 252.857,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27887,
    "c": 0.13529,
    "h": 283.1
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#251367
secondary
#889E37
accent
#EC3CC6
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #251367

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

Preview Lab → · Contrast checker → · Palette generator →

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