#250641#250641

#250641 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.102 H 302.3°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#250641
RGBrgb(37, 6, 65)
HSLhsl(272, 83%, 14%)
HSVhsv(272, 91%, 25%)
CMYKcmyk(43.1%, 90.8%, 0%, 74.5%)
CIE-LABlab(8.18, 28.62, -30.32)
CIE-LCHlch(8.18, 41.70, 313.35°)
OKLaboklab(22.15% 0.0547 -0.0866)
OKLCHoklch(22.15% 0.102 302.3)
XYZxyz(1.7820, 0.9052, 5.0808)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250641 #224106
analogous
#070641 #250641 #410640
triadic
#250641 #412506 #064125
tetradic
#250641 #410706 #224106 #064041
square
#250641 #410706 #224106 #064041
split-complementary
#250641 #404106 #064107
monochromatic
#10031C #10031C #250641 #450B79 #6510B1

Accessibility & contrast

On white

17.78
#250641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#250641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250641
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250641#FFFFFF#000000##FFFFFF
##2506411.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001840
Tritanopia (blue-blind)
#1F1624
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #250641;
/* rgb */ color: rgb(37, 6, 65);
/* oklch */ color: oklch(22.2% 0.102 302.3);
Tailwind
colors: {
  custom: {
    50: '#634a76',
    500: '#250641',
    950: '#000000',
  },
}
SCSS
$custom: #250641;
$custom-light: #634a76;
$custom-dark: #000000;
JSON
{
  "hex": "#250641",
  "rgb": {
    "r": 37,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 271.525,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22154,
    "c": 0.10246,
    "h": 302.3
  },
  "luminance": 0.00905
}

Semantic roles & 50–950 ramp

primary
#250641
secondary
#4F8122
accent
#F92E8F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #250641

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

Preview Lab → · Contrast checker → · Palette generator →

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