#230641#230641

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

Color values

HEX#230641
RGBrgb(35, 6, 65)
HSLhsl(269, 83%, 14%)
HSVhsv(269, 91%, 25%)
CMYKcmyk(46.2%, 90.8%, 0%, 74.5%)
CIE-LABlab(7.85, 28.26, -30.87)
CIE-LCHlch(7.85, 41.85, 312.48°)
OKLaboklab(21.86% 0.0512 -0.0883)
OKLCHoklch(21.86% 0.102 300.1)
XYZxyz(1.7122, 0.8692, 5.0776)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230641 #244106
analogous
#060641 #230641 #410641
triadic
#230641 #412306 #064123
tetradic
#230641 #410606 #244106 #064141
square
#230641 #410606 #244106 #064141
split-complementary
#230641 #414106 #064106
monochromatic
#0F031C #0F031C #230641 #410B79 #5F10B1

Accessibility & contrast

On white

17.89
#230641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#230641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230641
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230641#FFFFFF#000000##FFFFFF
##2306411.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#1C1624
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #230641;
/* rgb */ color: rgb(35, 6, 65);
/* oklch */ color: oklch(21.9% 0.102 300.1);
Tailwind
colors: {
  custom: {
    50: '#624a76',
    500: '#230641',
    950: '#000000',
  },
}
SCSS
$custom: #230641;
$custom-light: #624a76;
$custom-dark: #000000;
JSON
{
  "hex": "#230641",
  "rgb": {
    "r": 35,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 269.492,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21859,
    "c": 0.10207,
    "h": 300.1
  },
  "luminance": 0.00869
}

Semantic roles & 50–950 ramp

primary
#230641
secondary
#528122
accent
#F92E96
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #230641

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

Preview Lab → · Contrast checker → · Palette generator →

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