#251163#251163

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

Color values

HEX#251163
RGBrgb(37, 17, 99)
HSLhsl(255, 71%, 23%)
HSVhsv(255, 83%, 39%)
CMYKcmyk(62.6%, 82.8%, 0%, 61.2%)
CIE-LABlab(13.80, 33.26, -44.41)
CIE-LCHlch(13.80, 55.48, 306.84°)
OKLaboklab(27.18% 0.0333 -0.128)
OKLCHoklch(27.18% 0.132 284.6)
XYZxyz(3.2148, 1.6949, 11.9597)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251163 #4F6311
analogous
#112663 #251163 #4E1163
triadic
#251163 #632511 #116325
tetradic
#251163 #631126 #4F6311 #11634E
square
#251163 #631126 #4F6311 #11634E
split-complementary
#251163 #634E11 #266311
monochromatic
#0A041A #11082F #251163 #391A97 #4C23CB

Accessibility & contrast

On white

15.68
#251163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251163
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251163#FFFFFF#000000##FFFFFF
##2511631.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002565
Deuteranopia (green-blind)
#002162
Tritanopia (blue-blind)
#02293A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #251163;
/* rgb */ color: rgb(37, 17, 99);
/* oklch */ color: oklch(27.2% 0.132 284.6);
Tailwind
colors: {
  custom: {
    50: '#695290',
    500: '#251163',
    950: '#000000',
  },
}
SCSS
$custom: #251163;
$custom-light: #695290;
$custom-dark: #000000;
JSON
{
  "hex": "#251163",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 254.634,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27183,
    "c": 0.13222,
    "h": 284.6
  },
  "luminance": 0.01695
}

Semantic roles & 50–950 ramp

primary
#251163
secondary
#829B34
accent
#ED3AC2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020D
muted
#7A787D

Preview Lab

Preview with #251163

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

Preview Lab → · Contrast checker → · Palette generator →

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