#251083#251083

#251083 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.172 H 277.6°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#251083
RGBrgb(37, 16, 131)
HSLhsl(251, 78%, 29%)
HSVhsv(251, 88%, 51%)
CMYKcmyk(71.8%, 87.8%, 0%, 48.6%)
CIE-LABlab(17.47, 43.62, -59.06)
CIE-LCHlch(17.47, 73.42, 306.45°)
OKLaboklab(30.84% 0.0226 -0.1706)
OKLCHoklch(30.84% 0.172 277.6)
XYZxyz(5.0436, 2.4021, 21.6662)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251083 #6E8310
analogous
#103583 #251083 #5F1083
triadic
#251083 #832510 #108325
tetradic
#251083 #831035 #6E8310 #10835F
square
#251083 #831035 #6E8310 #10835F
split-complementary
#251083 #835F10 #358310
monochromatic
#08031B #16094C #251083 #3417BA #4B29E5

Accessibility & contrast

On white

14.18
#251083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#251083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251083
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251083#FFFFFF#000000##FFFFFF
##2510831.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F86
Deuteranopia (green-blind)
#002681
Tritanopia (blue-blind)
#00364C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #251083;
/* rgb */ color: rgb(37, 16, 131);
/* oklch */ color: oklch(30.8% 0.172 277.6);
Tailwind
colors: {
  custom: {
    50: '#7054a8',
    500: '#251083',
    950: '#000000',
  },
}
SCSS
$custom: #251083;
$custom-light: #7054a8;
$custom-dark: #000000;
JSON
{
  "hex": "#251083",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 250.957,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30839,
    "c": 0.17206,
    "h": 277.6
  },
  "luminance": 0.02403
}

Semantic roles & 50–950 ramp

primary
#251083
secondary
#A1B936
accent
#F533D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #251083

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

Preview Lab → · Contrast checker → · Palette generator →

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