#250236#250236

#250236 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.5% C 0.097 H 311.5°. Best body text is #FFFFFF at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#250236
RGBrgb(37, 2, 54)
HSLhsl(280, 93%, 11%)
HSVhsv(280, 96%, 21%)
CMYKcmyk(31.5%, 96.3%, 0%, 78.8%)
CIE-LABlab(6.35, 27.68, -25.35)
CIE-LCHlch(6.35, 37.53, 317.52°)
OKLaboklab(20.46% 0.0642 -0.0726)
OKLCHoklch(20.46% 0.097 311.5)
XYZxyz(1.4504, 0.7031, 3.5486)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250236 #133602
analogous
#0B0236 #250236 #36022D
triadic
#250236 #362502 #023625
tetradic
#250236 #360B02 #133602 #022D36
square
#250236 #360B02 #133602 #022D36
split-complementary
#250236 #2D3602 #02360B
monochromatic
#14011E #14011E #250236 #4D0471 #7606AC

Accessibility & contrast

On white

18.41
#250236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#250236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250236
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250236#FFFFFF#000000##FFFFFF
##2502361.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001237
Deuteranopia (green-blind)
#001535
Tritanopia (blue-blind)
#230E1C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #250236;
/* rgb */ color: rgb(37, 2, 54);
/* oklch */ color: oklch(20.5% 0.097 311.5);
Tailwind
colors: {
  custom: {
    50: '#62476d',
    500: '#250236',
    950: '#000000',
  },
}
SCSS
$custom: #250236;
$custom-light: #62476d;
$custom-dark: #000000;
JSON
{
  "hex": "#250236",
  "rgb": {
    "r": 37,
    "g": 2,
    "b": 54
  },
  "hsl": {
    "h": 280.385,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20457,
    "c": 0.09691,
    "h": 311.5
  },
  "luminance": 0.00703
}

Semantic roles & 50–950 ramp

primary
#250236
secondary
#397A1A
accent
#FF296F
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050007
muted
#7A777A

Preview Lab

Preview with #250236

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

Preview Lab → · Contrast checker → · Palette generator →

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