#230335#230335

#230335 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.093 H 309.7°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#230335
RGBrgb(35, 3, 53)
HSLhsl(278, 89%, 11%)
HSVhsv(278, 94%, 21%)
CMYKcmyk(34%, 94.3%, 0%, 79.2%)
CIE-LABlab(6.14, 26.21, -24.98)
CIE-LCHlch(6.14, 36.20, 316.38°)
OKLaboklab(20.18% 0.0597 -0.0718)
OKLCHoklch(20.18% 0.093 309.7)
XYZxyz(1.3682, 0.6795, 3.4266)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230335 #153503
analogous
#0A0335 #230335 #35032E
triadic
#230335 #352303 #033523
tetradic
#230335 #350A03 #153503 #032E35
square
#230335 #350A03 #153503 #032E35
split-complementary
#230335 #2E3503 #03350A
monochromatic
#13021D #13021D #230335 #49066F #6F0AA9

Accessibility & contrast

On white

18.49
#230335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230335
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230335#FFFFFF#000000##FFFFFF
##2303351.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001236
Deuteranopia (green-blind)
#001434
Tritanopia (blue-blind)
#200F1C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #230335;
/* rgb */ color: rgb(35, 3, 53);
/* oklch */ color: oklch(20.2% 0.093 309.7);
Tailwind
colors: {
  custom: {
    50: '#61476d',
    500: '#230335',
    950: '#000000',
  },
}
SCSS
$custom: #230335;
$custom-light: #61476d;
$custom-dark: #000000;
JSON
{
  "hex": "#230335",
  "rgb": {
    "r": 35,
    "g": 3,
    "b": 53
  },
  "hsl": {
    "h": 278.4,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20175,
    "c": 0.09333,
    "h": 309.7
  },
  "luminance": 0.00679
}

Semantic roles & 50–950 ramp

primary
#230335
secondary
#3D781C
accent
#FF2976
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #230335

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

Preview Lab → · Contrast checker → · Palette generator →

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