#230941#230941

#230941 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.3% C 0.098 H 299.2°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#230941
RGBrgb(35, 9, 65)
HSLhsl(268, 76%, 15%)
HSVhsv(268, 86%, 25%)
CMYKcmyk(46.2%, 86.2%, 0%, 74.5%)
CIE-LABlab(8.43, 26.59, -29.92)
CIE-LCHlch(8.43, 40.02, 311.63°)
OKLaboklab(22.26% 0.0479 -0.0855)
OKLCHoklch(22.26% 0.098 299.2)
XYZxyz(1.7447, 0.9343, 5.0884)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230941 #274109
analogous
#090B41 #230941 #3F0941
triadic
#230941 #412309 #094123
tetradic
#230941 #41090B #274109 #09413F
square
#230941 #41090B #274109 #09413F
split-complementary
#230941 #413F09 #0B4109
monochromatic
#0E041B #0E041B #230941 #401077 #5D18AD

Accessibility & contrast

On white

17.69
#230941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#230941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230941
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230941#FFFFFF#000000##FFFFFF
##2309411.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230941;
/* rgb */ color: rgb(35, 9, 65);
/* oklch */ color: oklch(22.3% 0.098 299.2);
Tailwind
colors: {
  custom: {
    50: '#624b76',
    500: '#230941',
    950: '#000000',
  },
}
SCSS
$custom: #230941;
$custom-light: #624b76;
$custom-dark: #000000;
JSON
{
  "hex": "#230941",
  "rgb": {
    "r": 35,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 267.857,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22265,
    "c": 0.09801,
    "h": 299.2
  },
  "luminance": 0.00934
}

Semantic roles & 50–950 ramp

primary
#230941
secondary
#567F27
accent
#F2369B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #230941

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

Preview Lab → · Contrast checker → · Palette generator →

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