#230341#230341

#230341 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.106 H 301.0°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#230341
RGBrgb(35, 3, 65)
HSLhsl(271, 91%, 13%)
HSVhsv(271, 95%, 25%)
CMYKcmyk(46.2%, 95.4%, 0%, 74.5%)
CIE-LABlab(7.26, 29.96, -31.83)
CIE-LCHlch(7.26, 43.71, 313.27°)
OKLaboklab(21.44% 0.0548 -0.0912)
OKLCHoklch(21.44% 0.106 301)
XYZxyz(1.6796, 0.8041, 5.0667)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230341 #214103
analogous
#040341 #230341 #410340
triadic
#230341 #412303 #034123
tetradic
#230341 #410403 #214103 #034041
square
#230341 #410403 #214103 #034041
split-complementary
#230341 #404103 #034104
monochromatic
#10011D #10011D #230341 #42067B #6208B6

Accessibility & contrast

On white

18.09
#230341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#230341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230341
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230341#FFFFFF#000000##FFFFFF
##2303411.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#1C1523
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #230341;
/* rgb */ color: rgb(35, 3, 65);
/* oklch */ color: oklch(21.4% 0.106 301.0);
Tailwind
colors: {
  custom: {
    50: '#624876',
    500: '#230341',
    950: '#000000',
  },
}
SCSS
$custom: #230341;
$custom-light: #624876;
$custom-dark: #000000;
JSON
{
  "hex": "#230341",
  "rgb": {
    "r": 35,
    "g": 3,
    "b": 65
  },
  "hsl": {
    "h": 270.968,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21438,
    "c": 0.10637,
    "h": 301
  },
  "luminance": 0.00804
}

Semantic roles & 50–950 ramp

primary
#230341
secondary
#4E831D
accent
#FF2990
background
#F6F4F7
surface
#EBE6ED
border
#C6C2C8
text
#050008
muted
#7A777B

Preview Lab

Preview with #230341

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

Preview Lab → · Contrast checker → · Palette generator →

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